micropython-ds1302-rtc icon indicating copy to clipboard operation
micropython-ds1302-rtc copied to clipboard

ESP8266 12E

Open tamato27 opened this issue 3 years ago • 0 comments

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]

tamato27 avatar Oct 20 '22 04:10 tamato27