Dual Button as the name states, has two buttons with different color. If the Button unit is not enough for your application needs, how about double it up to a pair? They share the exact same mechanism, button status can be detected by the input pin status by simply capturing the high/low electrical level.
This unit communicates with M5Core through GROVE B port.
Resources | Parameter |
---|---|
Net weight | 8g |
Gross weight | 22g |
Product Size | 48*24*8mm |
Package Size | 136*92*10mm |
M5Core (GROVE B) | GPIO36 | GPIO26 | 5V | GND |
---|---|---|---|---|
DUAL_BUTTON Unit | Blue Button Pin | Red Button Pin | 5V | GND |
The code below is incomplete (for reference only). To get the complete code, please click here