1. OBPushButton - Blue(EF04034)
This is a digital push button sensor, which detects your press action and it is ideal for beginners to use.
The 3-pins ports is easy to plug and play.
It can work with micro:bit in 3V.
|Pins Definition||1-Signal 2-VCC 3-GND|
|Response||Quick response with high sensitivity|
|Stability||Stable and durable|
1.4. Outlook and Dimension
1.5. Quick to Start
Materials used and connection diagram
Connect to the P1 port as the picture shows
Take sensor:bit for example
Program as the picture shows
You can also download the links below:
While the button being pressed, an icon is showing on the micro:bit; while released, a rectangle is showing on the micro:bit.