Subversion Repositories FlightCtrl

Rev

Rev 464 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 464 Rev 476
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;
-
 
22
extern unsigned char motor;
21
extern volatile unsigned char twi_state;
Line 23... Line 22...
23
extern unsigned char motorread;
22
extern volatile unsigned char motor;
24
extern unsigned char motor_rx[8];
23
extern volatile unsigned char motor_rx[8];
25
 
24
 
26
 
25
 
-
 
26
void i2c_init (void); // I2C initialisieren
-
 
27
void i2c_start (void); // Start I2C
Line 27... Line 28...
27
void i2c_init (void); // I2C initialisieren
28
void i2c_stop (void); // Stop I2C