MQTT: Arduino install library untuk PubSubClient.h

From OnnoWiki
Revision as of 18:30, 10 May 2018 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

MQTT membutuhkan library untuk PubSubClient.h

Download dari

https://github.com/knolleary/pubsubclient/archive/master.zip

bisa dengan

cd ~/sketchbook/libraries/
wget https://github.com/knolleary/pubsubclient/archive/master.zip

Lakukan

cd ~/sketchbook/libraries/
unzip master.zip
mv pubsubclient-master pubsubclient
mv pubsubclient/src/* pubsubclient
sudo mv pubsubclient/ /usr/share/arduino/libraries/