
This Pushbutton makes it easy to add an extra input to your BBC micro:bit projects. With simple clip leads and no soldering required, it’s perfect for classrooms, workshops, and quick prototyping.
Features
- Simple connectivity — attach with alligator clips to pins 0, 1, or 2
- Flexible wiring — connect to 3V or GND for different logic states
- Hands-on learning — ideal for teaching digital inputs and coding with MakeCode or MicroPython
- Portable design — use as an extra button away from the board
- No soldering required — quick setup for beginners and classrooms
Includes
- 1 × Pushbutton for micro:bit with attached clip leads
Requirements
- BBC micro:bit (any version)
- MakeCode or MicroPython for programming
Example Code (MakeCode)
// Show a heart when the button on pin 0 is pressed
input.onPinPressed(TouchPin.P0, function () {
basic.showIcon(IconNames.Heart)
basic.pause(500)
basic.clearScreen()
})