Difference between revisions of "MQTT: Arduino install library untuk PubSubClient.h"

From OnnoWiki
Jump to navigation Jump to search
Line 16: Line 16:
 
  mv pubsubclient-master pubsubclient
 
  mv pubsubclient-master pubsubclient
 
  mv pubsubclient/src/* pubsubclient
 
  mv pubsubclient/src/* pubsubclient
 +
sudo mv pubsubclient/ /usr/share/arduino/libraries/

Revision as of 18:30, 10 May 2018

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/