Posted: Sat Sep 28, 2019 11:01 am
Hi there, one question:
what happens if i put tmr.stop(2) and no timer is set in lua nodemcu? Will this cause panic?
Posted: Sun Sep 29, 2019 1:27 am
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.
Posted: Sun Sep 29, 2019 2:14 am
Hi marcelstoer, I did not know that, thanks for that...
Posted: Sun Sep 29, 2019 2:25 am
To learn about new releases you can do one of the following