adds a USB serial port to your design
Dependents: Example_WatchDog_Timer
Diff: USBHID/USBKeyboard.cpp
- Revision:
- 47:a0cd9646ecd1
- Parent:
- 25:7c72828865f3
- Child:
- 70:2c525a50f1b6
--- a/USBHID/USBKeyboard.cpp Tue Mar 31 16:15:39 2015 +0100 +++ b/USBHID/USBKeyboard.cpp Wed Apr 08 07:46:23 2015 +0100 @@ -420,7 +420,7 @@ } -bool USBKeyboard::EP1_OUT_callback() { +bool USBKeyboard::EPINT_OUT_callback() { uint32_t bytesRead = 0; uint8_t led[65]; USBDevice::readEP(EPINT_OUT, led, &bytesRead, MAX_HID_REPORT_SIZE);