Thanks for the info. I thought it might not be very hard but I'm surprised at how easy it looks. I haven't written any JavaScript in many years, but I can read the code you included and it makes sense.
I gather that setInterval takes two values: an anonymous function and a number that tells it how often to call it. (Is 60 * 1000 one minute or one hour? Those are the kind of questions I'm going to have to learn how to answer myself.)
Looks like I'm on my way to fun adventures that will live on my wrist. Thanks for pointing me in the right direction.
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.
Hey blkhawk,
Thanks for the info. I thought it might not be very hard but I'm surprised at how easy it looks. I haven't written any JavaScript in many years, but I can read the code you included and it makes sense.
I gather that setInterval takes two values: an anonymous function and a number that tells it how often to call it. (Is 60 * 1000 one minute or one hour? Those are the kind of questions I'm going to have to learn how to answer myself.)
Looks like I'm on my way to fun adventures that will live on my wrist. Thanks for pointing me in the right direction.
Peace,
RobS:-]