Now that you explain me the bug that the setTimeOut called over and over again, i see the problem.
Sometime the logic is hard to see, even if it's not the most difficult logic.(i am still a beginner :) )
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks for your solution Gordon!
Now that you explain me the bug that the setTimeOut called over and over again, i see the problem.
Sometime the logic is hard to see, even if it's not the most difficult logic.(i am still a beginner :) )
But anyway, thanks a lot!