mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
更新按键unit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 138 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
@@ -10,9 +10,13 @@
|
||||
|
||||
**<mark>BUTTON</mark>** is a single momentary push button Unit. It contains one independent "momentary on/off" button. “Momentary” means that the button rebounds on its own after it is released. The button outputs a LOW signal when pressed, and HIGH when released. The Btn stands for signal while NC stands for not used at all.
|
||||
|
||||
As shown in the figure below:
|
||||
**As shown in the figure below:**
|
||||
|
||||
<img src="assets/img/product_pics/unit/button/unit_button_02.png">
|
||||
<img src="assets/img/product_pics/unit/button/unit_button_02.png" width="50%" height="50%">
|
||||
|
||||
**Output status:**
|
||||
|
||||
<img src="assets/img/product_pics/unit/button/unit_button_03.png">
|
||||
|
||||
This unit communicates with M5Core through GROVE B port.
|
||||
|
||||
|
||||
@@ -10,8 +10,14 @@
|
||||
|
||||
**<mark>Dual Button</mark>** is a unit built-in two momentary push buttons. It contains two independent "momentary on/off" buttons. “Momentary” means that the button rebounds on its own after it is released. The button pressed outputs a LOW signal when pressed, and HIGH when released. The GPIO36 pin outputs the level signal of Button A (blue button), and the GPIO26 (red button) pin outputs the level signal of Button B.
|
||||
|
||||
**Output status:**
|
||||
|
||||
<img src="assets/img/product_pics/unit/dual_button/unit_dual_button_05.png" width="50%" height="50%">
|
||||
|
||||
**Output status:**
|
||||
|
||||
<img src="assets/img/product_pics/unit/dual_button/unit_dual_button_08.png">
|
||||
|
||||
## Feature
|
||||
|
||||
- GROVE interface, support [UIFlow](http://flow.m5stack.com) and [Arduino](http://www.arduino.cc)
|
||||
|
||||
@@ -10,10 +10,14 @@
|
||||
|
||||
**<mark>BUTTON</mark>** 是一个瞬时单按键开关 unit。这个 Unit 内置了一个瞬时按键,这个瞬时按键能够在按压释放时会自动弹回。当按键按下时立即输出一个低电压的逻辑电平,释放时立即输出一个高电压的逻辑平。NC 引脚在该模块没有用到,Btn (GPIO36) 引脚为按钮的信号输出。
|
||||
|
||||
如图下图所示:
|
||||
**如图下图所示:**
|
||||
|
||||
<img src="assets/img/product_pics/unit/button/unit_button_02.png">
|
||||
|
||||
**按键输出状态示意:**
|
||||
|
||||
<img src="assets/img/product_pics/unit/button/unit_button_03.png">
|
||||
|
||||
该 Unit 与 M5Core 通过 Grove B 接口通信。
|
||||
|
||||
## 特性
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
|
||||
<img src="assets/img/product_pics/unit/dual_button/unit_dual_button_05.png" width="50%" height="50%">
|
||||
|
||||
**输出状态示意:**
|
||||
|
||||
<img src="assets/img/product_pics/unit/dual_button/unit_dual_button_08.png">
|
||||
|
||||
## 特性
|
||||
|
||||
- GROVE 接口,支持 [UIFlow](http://flow.m5stack.com) 编程,[Arduino](http://www.arduino.cc) 编程
|
||||
|
||||
Reference in New Issue
Block a user