Manual

Button module
Working voltage:3.3V to 5V
Output type:Digital signal. Press the key, high level;Release the key, low level.
Interface mode:PH2.0~3P
Module size:35*26.3mm
Module weight:49g.3mm
Pin definition:
OUT Output
+ VCC
- GND
6
Product description: Buttons are common components used to control electronic devices.
They are usually used as switches to connect or disconnect circuits. Under normal
circumstances, the two contacts of the button are in the open state, and they only close
when the button is pressed.
Micro:bit
Example 1
code