mirror of
https://github.com/0x1abin/MultiButton.git
synced 2025-01-25 08:32:55 +08:00
update readme
This commit is contained in:
parent
4440a2d7d8
commit
cb85075bfe
@ -17,7 +17,7 @@ button_init(&button1, read_button_pin, 0);
|
|||||||
3.注册按键事件
|
3.注册按键事件
|
||||||
|
|
||||||
```
|
```
|
||||||
button_attach(&button1, SINGLE_CLICK, Callback_SINGLE_CLICK_Handler);
|
button_attach(&button1, CLICK, Callback_CLICK_Handler);
|
||||||
button_attach(&button1, DOUBLE_CLICK, Callback_DOUBLE_Click_Handler);
|
button_attach(&button1, DOUBLE_CLICK, Callback_DOUBLE_Click_Handler);
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user