◆ CLPUSBSerialBridge() [1/2]
CLPUSBSerialBridge::CLPUSBSerialBridge |
( |
| ) |
|
|
inline |
◆ CLPUSBSerialBridge() [2/2]
CLPUSBSerialBridge::CLPUSBSerialBridge |
( |
const char * |
serialNumber | ) |
|
Create a new CLPUSBSerialBridge and set a Serial Number.
- Parameters
-
serialNumber | the Serial Number of the USB device |
◆ begin()
void CLPUSBSerialBridge::begin |
( |
| ) |
|
|
virtual |
Setup the bridge connections. Must be called in the Arduino setup function.
◆ handleHID()
void CLPUSBSerialBridge::handleHID |
( |
| ) |
|
|
virtual |
Reads data from USB and sents it via Serial to the main MCU. Wait for the response and set it back to the USB host. MUST be called in the Arduino loop function.
The documentation for this class was generated from the following files:
- examples/HoodLoader2CLPBridge/CLPUSBSerialBridge.h
- examples/HoodLoader2CLPBridge/CLPUSBSerialBridge.cpp