tmr.stop
Posted:
Sat Sep 28, 2019 11:01 am
by faramon
Hi there, one question:
what happens if i put tmr.stop(2) and no timer is set in lua nodemcu? Will this cause panic?
Thanx
Re: tmr.stop
Posted:
Sun Sep 29, 2019 1:27 am
by marcelstoer
I don't know but please note this in
the documentation:
NodeMCU formerly provided 7 static timers, numbered 0-6, which could be used instead of OO API timers initiated with tmr.create(). After a long period of deprecation, these were removed in 2019 Q1.
Hence, if you're still using firmware with the index-based timers you're advised to upgrade.
Re: tmr.stop
Posted:
Sun Sep 29, 2019 2:14 am
by faramon
Hi marcelstoer, I did not know that, thanks for that...
Re: tmr.stop
Posted:
Sun Sep 29, 2019 2:25 am
by marcelstoer
To learn about new releases you can do one of the following