USBDevice library fork to add multi-function (e.g. Keyboard(HID) + Virtual COM Port(CDC)) usb support.
Fork of USBDevice by
Diff: USBSerial/USBSerial.h
- Revision:
- 70:7e8e3be9f0e3
- Parent:
- 51:deafa44182d9
diff -r dad310740b28 -r 7e8e3be9f0e3 USBSerial/USBSerial.h --- a/USBSerial/USBSerial.h Tue Sep 11 15:17:01 2018 +0300 +++ b/USBSerial/USBSerial.h Thu Oct 04 15:43:40 2018 +0300 @@ -56,7 +56,8 @@ * @param connect_blocking define if the connection must be blocked if USB not plugged in * */ - USBSerial(uint16_t vendor_id = 0x1f00, uint16_t product_id = 0x2012, uint16_t product_release = 0x0001, bool connect_blocking = true): USBCDC(vendor_id, product_id, product_release, connect_blocking){ + USBSerial(uint16_t vendor_id = 0x1f00, uint16_t product_id = 0x2012, uint16_t product_release = 0x0001, bool connect_blocking = true): + USBDevice(vendor_id, product_id, product_release), USBCDC(vendor_id, product_id, product_release, connect_blocking) { settingsChangedCallback = 0; };