Cast tube base station

Dependencies:   EALib USBDevice mbed

Committer:
BPPearson
Date:
Tue Jan 05 16:46:47 2016 +0000
Revision:
1:240b94a8d002
Parent:
0:e559b5160d84
Cast tube base station

Who changed what in which revision?

UserRevisionLine numberNew contents of line
BPPearson 0:e559b5160d84 1 #ifndef USBHIDPROTOCOL_H_
BPPearson 0:e559b5160d84 2 #define USBHIDPROTOCOL_H_
BPPearson 0:e559b5160d84 3 /* Command list */
BPPearson 0:e559b5160d84 4 // Devices verifies with same CMD and optional data
BPPearson 0:e559b5160d84 5
BPPearson 0:e559b5160d84 6 // System commands
BPPearson 0:e559b5160d84 7 #define CMD_SYS_CHECK 0x00 // Args: return version
BPPearson 0:e559b5160d84 8 #define CMD_SYS_RESET 0xFF // Args: bool softreset
BPPearson 0:e559b5160d84 9
BPPearson 0:e559b5160d84 10 // Miscellaneous
BPPearson 0:e559b5160d84 11 #define CMD_CURRENT_VALUES 0x10 // Args, int led 1..4
BPPearson 0:e559b5160d84 12 //#define CMD_ALL_VALUES 0x11 // Args, int led 1..4
BPPearson 0:e559b5160d84 13
BPPearson 0:e559b5160d84 14 // scanner commands
BPPearson 0:e559b5160d84 15 #define PARK_AT_ZERO 0x20
BPPearson 0:e559b5160d84 16 #define MD_SCAN 0x21
BPPearson 0:e559b5160d84 17 #define ROTATIONAL_SCAN 0x22
BPPearson 0:e559b5160d84 18 #define PARK_AT_POSITION 0x23
BPPearson 0:e559b5160d84 19
BPPearson 0:e559b5160d84 20 #endif //USBHIDPROTOCOL_H_
BPPearson 0:e559b5160d84 21