18 #include <CorsairLightingProtocolConstants.h>
22 #if (COMMAND_SIZE >= RESPONSE_SIZE)
23 #define RAWHID_AND_SERIAL_BUFFER_SIZE COMMAND_SIZE
27 #define RESPONSE_SIZE_16U2 64
29 #define SERIAL_SYNCHRONIZATION_TIMEOUT 20
30 #define SERIAL_RESPONSE_TIMEOUT 10
31 #define SERIAL_BAUD 1000000
33 #define RESET_PIN IO_MCU_RESET_PIN
58 byte rawHIDAndSerialBuffer[RAWHID_AND_SERIAL_BUFFER_SIZE];
Definition: CLPUSBSerialBridge.h:35
CLPUSBSerialBridge()
Definition: CLPUSBSerialBridge.h:40
virtual void begin()
Definition: CLPUSBSerialBridge.cpp:35
virtual void handleHID()
Definition: CLPUSBSerialBridge.cpp:66