As the title says... Chat on...

User avatar
By faramon
#83958 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
User avatar
By marcelstoer
#83962 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.
User avatar
By marcelstoer
#83964 To learn about new releases you can do one of the following