Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
The DS1307 Real Time Clock and data logger | ||||||||
Line: 6 to 6 | ||||||||
Added: | ||||||||
> > | 3 programs are available for this board. The first one sets date and time which is hard-coded in the program. You must therefore modify the code if you want to set the correct date and time: https://github.com/uraich/MicroPython_IoTDemos/blob/master/drivers/ds1307/ds1307SetTime.py The second program is an improvement over the first one. It also sets date and time of the RTC but this time it gets the correct date and time from an NTP time server. Just running the program without any modification will therefor set the correct time. https://github.com/uraich/MicroPython_IoTDemos/blob/master/drivers/ds1307/ds1307SetTimeNtp.py The third program reads the date and time from the RTC and prints it in a humanly readable format: https://github.com/uraich/MicroPython_IoTDemos/blob/master/drivers/ds1307/ds1307GetTime.py | |||||||
-- Uli Raich - 2019-03-22
Comments |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
The DS1307 Real Time Clock and data loggerThis shield features a battery backed-up Dallas real time clock and an SD card socket which can receive micro SD cards. The board can therefore a big number of sensor data. -- Uli Raich - 2019-03-22Comments
|