Octopus Push Lock ESwitch Brick OBPLock(EF04035)
Introduction
This is Push Lock ESwitch button brick, which detects your press action and it is ideal for beginners to learn.
Products Link
ELECFREAKS Octopus Push Lock E-Switch
Characteristics
It is easy to plug and play.
Specifications
Item | Parameter |
---|---|
SKU | EF04035 |
Power Dissipation | ULP |
Working Temperature | 2070℃ |
Working Voltage | 3.35V |
Outlook and Dimensions
Quick to Start
Materials used and connection diagram
Connect to the P1 port as the picture shows
Take sensor:bit for example
Add Package
Program as the picture shows
Reference
Links: https://makecode.microbit.org/_8pkVmHELdVHd
You can also download the links below:
Result
While the button being pressed, the status of the sensor button is showing on the micro:bit in number: 0 or 1.