Login

Please fill in your details to login.





micro:bit - beating heart

This page is mainly about micro:bit - beating heart
BL / PY : Draw an image of a heart on the LED display and then make the heart 'beat' by pulsing through brighter to dimmer and back again for ever. It might be better if you don't take the brightness right down to 0 so the LEDs stay lit - it'll look better. HINT : If you are trying this in micropython, firstly, it's hard and secondly, the range of brightness goes from 0 (off) to 9 (brightest).

Last modified: October 5th, 2021
The Computing Café works best in landscape mode.
Rotate your device.
Dismiss Warning