@DrAzzy, solution with delay helped a lot. Actually, only with it I was able to move forward. So, big thanks here.
But, still, it's interesting why adding this line still(!) help. And why it stops working after hard(power) reset. With setTime it will properly restart after RST, w/o it - doesn't.
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.
@DrAzzy, solution with delay helped a lot. Actually, only with it I was able to move forward. So, big thanks here.
But, still, it's interesting why adding this line still(!) help. And why it stops working after hard(power) reset. With setTime it will properly restart after RST, w/o it - doesn't.
Maybe I'm just doing something very wrong? :)