| Electronic Components Datasheet Search |
|
101020013 Datasheet(PDF) 8 Page - Seeed Technology Co.,Ltd. |
|
|
|||||||||||||||||||||||||||||
101020013 Datasheet(HTML) 8 Page - Seeed Technology Co.,Ltd. |
|
8 / 22 page ![]() 7/23/22, 8:43 PM Grove - DS1307 RTC (Real Time Clock) for Arduino - Seeed Wiki https://wiki.seeedstudio.com/Grove-RTC/ 8/22 21 clock.getTime(); 22 Serial.print(clock.hour, DEC); 23 Serial.print(":"); 24 Serial.print(clock.minute, DEC); 25 Serial.print(":"); 26 Serial.print(clock.second, DEC); 27 Serial.print(" "); 28 Serial.print(clock.month, DEC); 29 Serial.print("/"); 30 Serial.print(clock.dayOfMonth, DEC); 31 Serial.print("/"); 32 Serial.print(clock.year+2000, DEC); 33 Serial.print(" "); 34 Serial.print(clock.dayOfMonth); 35 Serial.print("*"); 36 switch (clock.dayOfWeek)// Friendly printout the week 37 { 38 case MON: 39 Serial.print("MON"); 40 break; 41 case TUE: 42 Serial.print("TUE"); 43 break; 44 case WED: 45 Serial.print("WED"); 46 break; 47 case THU: 48 Serial.print("THU"); 49 break; 50 case FRI: 51 Serial.print("FRI"); 52 break; 53 case SAT: 54 Serial.print("SAT"); 55 break; 56 case SUN: 57 Serial.print("SUN"); 58 break; 59 } 60 Serial.println(" "); 61 } |
|
|
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 |