I want to use timers in the rules and have high accuracy. I try to create a rule and compare with a stopwatch, I get a cycle time of about 1.98 seconds. This is a very bad result. Is it possible to get the best result?
I tried it on the assembly ESPEasy_mega-20190311
Code: Select all
On System#Boot do //When the ESP boots, do
timerSet,1,1 //Set Timer 1 for the next event in 10 seconds
endon
On Rules#Timer=1 do
//repeat after 1 seconds
timerSet,1,1
taskvalueset 2,1,[Counter1#Var1]+1
endon