Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2132 → Rev 2133

/branches/dongfang_FC_fixedwing/arduino_atmega328/twimaster.h
9,7 → 9,7
 
#define SCL_CLOCK 400000L
 
// This is for the IMU3200 sensor.
// This is for the ITG3200 sensor.
#define SLA 0b1101001
#define TWSR_FILTER (TWSR & 0b11111100)
 
28,10 → 28,10
/*
* We take the temperature measurement as well as gyro.
*/
extern volatile uint16_t IMU3200SensorInputs[4];
extern volatile int16_t ITG3200SensorInputs[4];
 
void twimaster_init(void);
void twimaster_setNeutral(void);
 
void twimaster_startCycle(void);
 
#endif