Hello all,
In documentation we can see for RTC.Alarm() args signature a time arg that can take a datetime tuple.
the doc: https://docs.micropython.org/en/latest/ ... e.RTC.html
I try this with this example but i did not work once code was uploaded in my esp8266.
My code :
rtc_time = RTC()
rtc_time.alarm((2019, 1, 22, 1, 19, 25), repeat=False)
rtc_i = rtc.irq(trigger=RTC.ALARM0, handler=test, wake=machine.SLEEP)
machine.sleep()
What wrong in my code ? I don't find any more precise information about this func ...
Thx for advance and regards.