diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2011-10-13 20:33:30 +0200 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2011-10-13 20:33:30 +0200 |
commit | 5d9d373a959271b498710817d08c2ea8e153aa6e (patch) | |
tree | 6867e887454a850b4e15616000ef342a1c661c7e /firmware/protocol.h | |
parent | 35a36b0a6c69ce136fd6ea2a203d34e48e1291e8 (diff) | |
download | mini-octopus-5d9d373a959271b498710817d08c2ea8e153aa6e.tar.gz mini-octopus-5d9d373a959271b498710817d08c2ea8e153aa6e.zip |
correct firmware??
Diffstat (limited to 'firmware/protocol.h')
-rw-r--r-- | firmware/protocol.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/firmware/protocol.h b/firmware/protocol.h index af2c6fb..6ae1c2a 100644 --- a/firmware/protocol.h +++ b/firmware/protocol.h @@ -42,12 +42,10 @@ #define CMD_IO_PORT_GET 0x19 #define CMD_IO_PIN_SET 0x1A #define CMD_IO_PIN_GET 0x1B -#define CMD_IO_SET_STATUS_LED 0x1C #define CMD_ADC_INIT_PIN 0x20 -#define CMD_ADC_DEINIT_PIN 0x21 -#define CMD_ADC_GET 0x22 -#define CMD_ADC_REF 0x23 +#define CMD_ADC_GET 0x21 +#define CMD_ADC_REF 0x22 #define CMD_I2C_INIT 0x30 #define CMD_I2C_DEINIT 0x31 @@ -80,17 +78,6 @@ #define CMD_UART_RECV 0x67 #define CMD_UART_SEND 0x68 -#define CMD_CAN_INIT 0x70 -#define CMD_CAN_DEINIT 0x71 -#define CMD_CAN_SEND_DATA 0x72 -#define CMD_CAN_ENABLE_MOB 0x73 -#define CMD_CAN_DISABLE_MOB 0x74 -#define CMD_CAN_SEND_REMOTE 0x75 -#define CMD_CAN_RECEIVE_DATA 0x76 -#define CMD_CAN_SET_AUTOREPLY 0x77 - -#define CMD_EEPROM_READ_BYTES 0x80 -#define CMD_EEPROM_WRITE_BYTES 0x81 #define PARAM_ADC_AREF 0x01 #define PARAM_ADC_AVCC 0x02 |