Brian Pearson
/
LPC1768OpacityMeterUSB
Opacity meter with USB interface
USBHIDProtocol.h
- Committer:
- BPPearson
- Date:
- 2016-01-05
- Revision:
- 0:8ce24e6c4de1
File content as of revision 0:8ce24e6c4de1:
#ifndef USBHIDPROTOCOL_H_ #define USBHIDPROTOCOL_H_ /* Command list */ // Devices verifies with same CMD and optional data // System commands #define CMD_SYS_CHECK 0x00 // Args: return version #define CMD_SYS_RESET 0xFF // Args: bool softreset #define CMD_GET_RAW_OPACITY 0x10 #define CMD_GET_FILTERED_OPACITY 0x11 #define CMD_GET_CALIB_FACTOR 0x12 #define CMD_SET_CALIB_FACTOR 0x13 #define CMD_GET_FILTER_MODE 0x14 #define CMD_SET_FILTER_MODE 0x15 #endif //USBHIDPROTOCOL_H_