| Electronic Components Datasheet Search |
|
101020013 Datasheet(PDF) 7 Page - Seeed Technology Co.,Ltd. |
|
|
|||||||||||||||||||||||||||||
101020013 Datasheet(HTML) 7 Page - Seeed Technology Co.,Ltd. |
|
7 / 22 page ![]() 7/23/22, 8:43 PM Grove - DS1307 RTC (Real Time Clock) for Arduino - Seeed Wiki https://wiki.seeedstudio.com/Grove-RTC/ 7/22 1 #include <Wire.h> 2 #include "DS1307.h" 3 4 DS1307 clock;//define a object of DS1307 class 5 void setup() 6 { 7 Serial.begin(9600); 8 clock.begin(); 9 clock.fillByYMD(2013,1,19);//Jan 19,2013 10 clock.fillByHMS(15,28,30);//15:28 30" 11 clock.fillDayOfWeek(SAT);//Saturday 12 clock.setTime();//write time to the RTC chip 13 } 14 void loop() 15 { 16 printTime(); 17 } 18 /*Function: Display time on the serial monitor*/ 19 void printTime() 20 { |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |