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

From OnnoWiki
Jump to navigation Jump to search
(Created page with "MQTT membutuhkan library untuk PubSubClient.h Download dari https://github.com/knolleary/pubsubclient/archive/master.zip bisa dengan wget https://github.com/knolleary/pu...")
 
Line 7: Line 7:
 
bisa dengan
 
bisa dengan
  
 +
cd ~/sketchbook/libraries/
 
  wget https://github.com/knolleary/pubsubclient/archive/master.zip
 
  wget https://github.com/knolleary/pubsubclient/archive/master.zip
  
 
Lakukan
 
Lakukan
  
 +
cd ~/sketchbook/libraries/
 
  unzip master.zip
 
  unzip master.zip
 
  mv pubsubclient-master pubsubclient
 
  mv pubsubclient-master pubsubclient
 
  mv pubsubclient/src/* pubsubclient
 
  mv pubsubclient/src/* pubsubclient
 
  mv pubsubclient /usr/share/arduino/libraries/
 
  mv pubsubclient /usr/share/arduino/libraries/

Revision as of 18:46, 19 October 2017

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
mv pubsubclient /usr/share/arduino/libraries/