Difference between revisions of "Arduino: Time"

From OnnoWiki
Jump to navigation Jump to search
Line 10: Line 10:
 
* https://github.com/PaulStoffregen/Time/archive/master.zip
 
* https://github.com/PaulStoffregen/Time/archive/master.zip
 
* http://playground.arduino.cc/uploads/Main/DS1302RTC.zip
 
* http://playground.arduino.cc/uploads/Main/DS1302RTC.zip
 +
* https://github.com/PaulStoffregen/DS1307RTC/archive/master.zip
  
 
Lakukan
 
Lakukan
Line 22: Line 23:
 
  unzip DS1302RTC.zip
 
  unzip DS1302RTC.zip
  
 
+
cp DS1307RTC-master.zip /usr/share/arduino/libraries
 +
cd /usr/share/arduino/libraries/
 +
unzip DS1307RTC-master.zip
 +
mv DS1307RTC-master DS1307RTC
  
 
==Code==
 
==Code==

Revision as of 06:53, 27 February 2016

Sumber:


Download & Install Library

Download

Lakukan

cp Time-master.zip /usr/share/arduino/libraries/
cd /usr/share/arduino/libraries/
unzip Time-master.zip
mv Time-master Time 
cp DS1302RTC.zip /usr/share/arduino/libraries
cd /usr/share/arduino/libraries/
unzip DS1302RTC.zip
cp DS1307RTC-master.zip /usr/share/arduino/libraries
cd /usr/share/arduino/libraries/
unzip DS1307RTC-master.zip
mv DS1307RTC-master DS1307RTC

Code

Referensi