idd hw3
Dependencies: mbed DebounceIn USBDevice PinDetect
Diff: main.cpp
- Revision:
- 4:c90291fd6cc9
- Parent:
- 2:4b2e3ca87deb
- Child:
- 6:adec77323ab2
diff -r 4b2e3ca87deb -r c90291fd6cc9 main.cpp --- a/main.cpp Fri Sep 26 19:21:07 2014 +0000 +++ b/main.cpp Fri Sep 26 20:46:47 2014 +0000 @@ -1,14 +1,11 @@ #include "mbed.h" #include "USBMouseKeyboard.h" #include "DebounceIn.h" - -//LED1: NUM_LOCK -//LED2: CAPS_LOCK -//LED3: SCROLL_LOCK + BusOut leds(LED1, LED2, LED3); DebounceIn accelerate(D7); -DigitalIn powerUp(D13); -DigitalIn breakz(D6); +DebounceIn powerUp(D13); +DebounceIn breakz(D6); Serial pc(USBTX, USBRX);