Subversion Repositories FlightCtrl

Rev

Rev 440 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 440 Rev 441
Line 16... Line 16...
16
#define I2C_RX_SLA_ACK     0x40
16
#define I2C_RX_SLA_ACK     0x40
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 unsigned char twi_state;
21
volatile unsigned char twi_state;
22
extern unsigned char motor;
22
volatile unsigned char motor;
Line 23... Line 23...
23
extern unsigned char motorread;
23
volatile unsigned char motorread;
24
extern unsigned char motor_rx[8];
24
extern unsigned char motor_rx[8];
25
 
25
 
26
 
26
 
Line 27... Line 27...
27
void i2c_init (void); // I2C initialisieren
27
void i2c_init (void); // I2C initialisieren