Rev 1648 | Rev 1651 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1648 | Rev 1650 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | #define I2C_RX_DATA_ACK 0x50 |
17 | #define I2C_RX_DATA_ACK 0x50 |
Line 18... | Line 18... | ||
18 | 18 | ||
Line 19... | Line 19... | ||
19 | //############################################################################ |
19 | //############################################################################ |
20 | 20 | ||
21 | extern volatile unsigned char twi_state; |
21 | extern volatile unsigned char twi_state; |
Line 22... | Line 22... | ||
22 | extern unsigned char motor,MissingMotor; |
22 | extern volatile unsigned char motor,MissingMotor; |
23 | extern unsigned char motorread; |
23 | extern volatile unsigned char motorread; |
24 | 24 | ||
Line 31... | Line 31... | ||
31 | 31 | ||
32 | #define BLFLAG_READ_VERSION 0x01 |
32 | #define BLFLAG_READ_VERSION 0x01 |
33 | #define BLFLAG_SEND_CONFIG 0x02 |
33 | #define BLFLAG_SEND_CONFIG 0x02 |
Line 34... | Line 34... | ||
34 | #define BLFLAG_TX_COMPLETE 0x04 |
34 | #define BLFLAG_TX_COMPLETE 0x04 |
Line 35... | Line 35... | ||
35 | 35 | ||
36 | extern unsigned char BLFlags; |
36 | extern volatile unsigned char BLFlags; |
37 | 37 | ||
38 | #define MASK_SET_PWM_SCALING 0x01 |
38 | #define MASK_SET_PWM_SCALING 0x01 |