I should think well suited to Espruino ... Micro:Bit v2 countdown timer, with announcement #7554
Unanswered
espruino-discuss
asked this question in
Other Boards
Replies: 1 comment
-
Posted at 2022-08-16 by @gfwilliams I think what you need is similar to the example on https://www.espruino.com/MicroBit#micro-bit-functionality. Something like this should work
Posted at 2022-08-16 by RandallSY Thank you! This kind of timely support is exactly why I own ever single piece of hardware you make... Works perfectly, and sounds great as well. Espruino really has command of the Micro:Bit's speaker, and this example is a good into to Espruino's (JS) "eventing system". I have an entirely new respect of/for setInterval. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2022-08-09 by RandallSY
Howdy all,
Just need a little help getting started with a simple application that would count down at a variable rate and display progress on the Micro:Bit V2 LED Display. It would be great if on every iteration I fired the speaker on the version 2 at each transition for say 500 MS.
I was thinking that the async nature of Espruino would allow me to do something clever with the "eventing" system, and take advantage of Espruino's support for the LED matrix display.
Eventually I would like the variables settable from a BLE interfaced on a Smartphone, but basic functionallity first...
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions