setTimeout and LCD #2690
Replies: 3 comments
-
Posted at 2021-07-09 by @gfwilliams
No, it's not intended at all, and I'm pretty convinced that isn't the case :) Are you calling
Thanks! Both will work I believe as they are the same function, but that is still confusing. I'll change the docs |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-07-11 by sauerman Oh okay, yeah |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-07-13 by HughB I remember using the LEDs will keep the screen on. Worth checking. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2021-07-09 by sauerman
Hi Everyone,
is it correct and intended that
setTimeout
prevents the screen to turn off, whilesetInterval
isn't?Also there is an error in the API Reference of
setTimeout
(http://www.espruino.com/Reference#l__global_setTimeout)I think the function
clearTimeout
is meant here. Also if my statement above is correct it would be nice to have it documented :)Beta Was this translation helpful? Give feedback.
All reactions