5. Octopus Push Lock E-Switch Brick OBPLock¶
5.1. Introduction¶
This is Push Lock E-Switch button brick, which detects your press action and it is ideal for beginners to learn.
5.3. Specifications¶
Item | Parameter :-: | :-: SKU|EF04035 Power Dissipation|ULP Working Temperature|-20-70℃ Working Voltage|3.3-5V
5.5. 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.