6. Octopus Push Lock E-Switch Brick OBPLock

6.1. Introduction


This is Push Lock E-Switch button brick, which detects your press action and it is ideal for beginners to learn.

../../_images/SMeQQyr.jpg

6.2. Characteristics


  • It is easy to plug and play.

6.3. Specifications


Item | Parameter :-: | :-: SKU|EF04035 Power Dissipation|ULP Working Temperature|-20-70℃ Working Voltage|3.3-5V

6.4. Outlook and Dimensions


../../_images/IYYxw8r.png

6.5. Quick to Start


Materials used and connection diagram

  • Connect to the P1 port as the picture shows

    Take sensor:bit for example

../../_images/tUcPhzM.png

Add Package

Program as the picture shows ../../_images/gkU4VNN.png

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.

6.6. Relevant Cases


6.7. Technique Files