Rewrite examples

This commit is contained in:
hsaturn
2021-04-12 00:23:08 +02:00
parent ce896f02c4
commit 5d313bbf5e
5 changed files with 61 additions and 23 deletions

View File

@@ -5,6 +5,16 @@
#define PORT 1883
MqttBroker broker(PORT);
/** Basic Mqtt Broker
*
* +-----------------------------+
* | ESP |
* | +--------+ |
* | | broker | | 1883 <--- External client/s
* | +--------+ |
* | |
* +-----------------------------+
*
void setup()
{
Serial.begin(115200);