
details
To test MQTT out, I decided to try to use Phant to “control” an Arduino, not just host its sensor readings. I whipped up a quick sketch and threw it on a Arduino/Ethernet Shield combo. Here’s an example of how easy the library makes MQTT
- Part List:
- Aruduino UNO
- Ethernet Shield
- Phant Server
- OASIS MQTT
- CoAP
- code:https://codebender.cc/sketch:71396
COMMENTS