@jane & @frank_schmidt If you really want to have fun, here’s the deluxe version: https://makecode.microbit.org/_d98WqjJp3hKL
It has it all (almost):
- Works on the v1 micro:bit
- Reports distance
- Sets speed (in the “Car Lights” menu. Each key is a specific speed)
- Challenge to the reader: Change them to be increase/decrease speed keys. Maybe +/- 10, +/- 20, etc.
- Reports speed (as the temperature value: 0-255)
- The piano keys play music
- Turns on/off front LED lights (in the “RGB Lights” menu…It controls the front LED lights, not the back RGB lights, which can’t be used with Bluetooth enabled.)
- Room for additional remote features (in the “Mode” menu. Just displays icons now)
I was able to get more in by editing the Maqueen library and removing things I didn’t need (IR remote, Servo, line detection). If you ever want a smaller Maqueen library, here’s the “Minimal Maqueen”: https://github.com/bsiever/pxt-maqueen (Paste this in as the extension name when you go to search for extensions)
Bill