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

From OnnoWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
bisa dengan
 
bisa dengan
  
  cd ~/sketchbook/libraries/
+
  cd ~/Downloads
 
  wget https://github.com/knolleary/pubsubclient/archive/master.zip
 
  wget https://github.com/knolleary/pubsubclient/archive/master.zip
  
Lakukan
 
  
  cd ~/sketchbook/libraries/
+
Lebih baik add melalui menu Sketch > Include Library > Add .ZIP Library
 +
 
 +
Atau
 +
 
 +
wget https://github.com/knolleary/pubsubclient/archive/master.zip
 +
mv master.zip ~/Arduino/libraries/
 +
  cd ~/Arduino/libraries/
 
  unzip master.zip
 
  unzip master.zip
  mv pubsubclient-master pubsubclient
+
 
mv pubsubclient/src/* pubsubclient
+
   
mv pubsubclient /usr/share/arduino/libraries/
+
 
 +
 
 +
==Pranala Menarik==
 +
 
 +
* [[MQTT]]
 +
* [[Arduino]]

Latest revision as of 10:43, 14 June 2022

MQTT membutuhkan library untuk PubSubClient.h

Download dari

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

bisa dengan

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


Lebih baik add melalui menu Sketch > Include Library > Add .ZIP Library

Atau

wget https://github.com/knolleary/pubsubclient/archive/master.zip
mv master.zip ~/Arduino/libraries/
cd ~/Arduino/libraries/
unzip master.zip



Pranala Menarik