Skip to content

Commit ef120fa

Browse files
committed
Fix readme example steps order
1 parent 7ca80af commit ef120fa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ After installing the dependencies and this library, make sure you have all 3 pre
1717

1818

1919
## MQTT Client Example
20-
- Install [PubSubClient](https://github.com/knolleary/pubsubclient) - Manually, or from the Arduino *Library Manager*.
21-
- Get a MQTT Broker running on your host, listening at least on `localhost`. I used [HiveMQ](www.hivemq.com).
22-
- Run the **Protocol Gateway** on the same host, on the right COM port.
23-
- Open and load the example from the Arduino *Examples menu*.
24-
- When the Arduino is connected to the MQTT broker, it will publish a message and subscribe to the `led` topic.
25-
- You can use another MQTT client like [MQTT.fx](http://mqttfx.jfx4ee.org) to publish characters `0` and `1` to the topic `led` to toggle the led on and off on the Arduino board.
20+
1. Install [PubSubClient](https://github.com/knolleary/pubsubclient) - Manually, or from the Arduino *Library Manager*.
21+
2. Get a MQTT Broker running on your host, listening at least on `localhost`. I used [HiveMQ](www.hivemq.com).
22+
3. Open and upload the example from the Arduino *Examples menu*.
23+
4. Run the **Protocol Gateway** on the same host, with the right COM port configuration.
24+
5. When the Arduino is connected to the MQTT broker, it will publish a message and subscribe to the `led` topic.
25+
6. You can use another MQTT client like [MQTT.fx](http://mqttfx.jfx4ee.org) to publish characters `0` and `1` to the topic `led` to toggle the led on and off on the Arduino board.
2626

2727
### Details
2828
- The protocol provides the app an in order, duplicates free and error checked byte stream by adding a CRC32 and simple retry mechanism. See [this](https://en.wikibooks.org/wiki/Serial_Programming/Error_Correction_Methods) for background.

0 commit comments

Comments
 (0)