-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I have a esp8266 with micropython on and this does not work at all , the date can not be set at all
keep getting [2000, 0, 0, 0, 0, 0, 0] as the date even if I explicitly set the date with ds.date_time([2022, 0, 0, 0, 0, 0, 0])
ds.year() still returns 2000
My Pins config
RTC CONNECTIONS:
DS1302 CLK/SCLK --> D5
DS1302 DAT/IO --> D4
DS1302 RST/CE --> D2
DS1302 VCC --> 3.3v - 5v
DS1302 GND --> GND
ds = DS1302(Pin(5), Pin(4), Pin(2))
ds.start()
ds.date_time() output is [2000, 0, 0, 0, 0, 0, 0]
Metadata
Metadata
Assignees
Labels
No labels