![](/media/cache/group/microbit_logo.png.50x50_q85.png)
Based on the example USB HID keyboard https://developer.mbed.org/users/jbru/code/BLE_HID_KeyboardStreamDemo/
Dependencies: BLE_API mbed nRF51822
Fork of HID-kb by
Revision 3:7d7822143a2d, committed 2018-11-14
- Comitter:
- JonnyA
- Date:
- Wed Nov 14 09:46:45 2018 +0000
- Parent:
- 2:fd2697cadbd3
- Commit message:
- Add simple debounce wait on interrupts for buttons
Changed in this revision
keyboard_stream.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/keyboard_stream.cpp Wed Aug 31 19:01:30 2016 +0000 +++ b/keyboard_stream.cpp Wed Nov 14 09:46:45 2018 +0000 @@ -84,10 +84,14 @@ void send_stuff() { send_string("n"); + wait(0.1); + } void send_more_stuff() { send_string("p"); + wait(0.1); + } int main()