update readme

This commit is contained in:
Jaup 2016-09-03 06:25:54 +00:00
parent 4440a2d7d8
commit cb85075bfe

View File

@ -17,7 +17,7 @@ button_init(&button1, read_button_pin, 0);
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);
...
```