# BUTTON SKU:U027
## Description **BUTTON** is a single button Unit. The button status can be detected by the input pin by simply capturing the high/low electrical level. If the button is pressed, the signal level will be ***high*** if the button is released, the signal level will be ***low***. **As shown in the figure below:** **Output status:** This unit communicates with M5Core through GROVE B port. ## Product Features - GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc) - Two Lego installation holes ## Include - 1x BUTTON Unit - 1x Grove Cable ## Applications - Lamp holder switch - Remote control switch ## Specification
Resources Parameter
Net weight 4g
Gross weight 16g
Product Size 32*24*8mm
Package Size 67*53*12mm
## EasyLoader >EasyLoader is a concise and fast program writer, which has a built-in case program related to the product. It can be burned to the main control by simple steps to perform a series of function verification. Please install the corresponding driver according to the device type. M5Core host [Please click here to view the CP210X driver installation tutorial](en/arduino/arduino_development), M5StickC/V/T/ATOM series can be used without driver)

Description:

The screen displays the current button status.

## Schematic ### PinMap
M5Core(GROVE B)Btn (GPIO36)NC (GPIO26)5VGND
BUTTON UnitBUTTON Pin 5VGND
## Example ### 1. Arduino The code below is incomplete (just for reference). To get the complete code, please click [here](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/BUTTON) ### 2. UIFlow - [Click here to download the UIFlow example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTON/UIFlow) Last updated: 2020-12-11