Power up without doing Repl changes program behaviour #11211
-
I wrote a simple timer program to turn on a light at a given time Timer programsetup 1 minute timerimport machine On_tm = 6 # on time @ 6 am update timer callback routine every seconddef Upd_timer(t):
main starts hereLed_io.on() Sec_tmr=Timer(period=1000,mode=Timer.PERIODIC, callback=Upd_timer) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Also tried a machine.soft_reset() as well on entry, did work either |
Beta Was this translation helpful? Give feedback.
Also tried a machine.soft_reset() as well on entry, did work either