This music player supports various operations with the buttons and the accelerometer on the microbit v2 development board.
- Button A
- Single click: Decrease the volume by one level
- Double click: Play the previous song
- Long press: Decrease the volume continuously until released
- Button B
- Single click: Increase the volume by one level
- Double click: Play the next song
- Long press: Increase the volume continuously until released
- Shake
- Play or pause the music
Make sure you have the latest versions (cargo install <tool>
) of these tools:
flip-link
probe-run
cargo-embed
cargo run
cargo embed
This project is licensed under the MIT license, see MIT license file for details.