Version of USBDevice that works for KL25Z on Mbed OS2.
Fork of USBDevice by
Diff: USBHID/USBHID.cpp
- Revision:
- 10:1e3d126a322b
- Parent:
- 1:80ab0d068708
- Child:
- 11:eeb3cbbaa996
--- a/USBHID/USBHID.cpp Mon Mar 04 13:37:51 2013 +0000 +++ b/USBHID/USBHID.cpp Thu May 30 17:16:57 2013 +0100 @@ -202,10 +202,10 @@ 0x75, 0x08, // report size = 8 bits 0x15, 0x00, // logical minimum = 0 0x26, 0xFF, 0x00, // logical maximum = 255 - 0x95, input_length, // report count + 0x95, input_length, // report count 0x09, 0x01, // usage 0x81, 0x02, // Input (array) - 0x95, output_length, // report count + 0x95, output_length,// report count 0x09, 0x02, // usage 0x91, 0x02, // Output (array) 0xC0 // end collection