Rev 2092 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2092 | Rev 2112 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | #include "twimaster.h" |
4 | #include "twimaster.h" |
5 | #include "configuration.h" |
5 | #include "configuration.h" |
6 | #include "eeprom.h" |
6 | #include "eeprom.h" |
7 | #include "timer0.h" |
7 | #include "timer0.h" |
Line 8... | Line -... | ||
8 | - | ||
9 | #define PITCHROLL_MINLIMIT GYRO_SUMMATION_FACTOR_PITCHROLL * 510 |
- | |
10 | #define PITCHROLL_MAXLIMIT GYRO_SUMMATION_FACTOR_PITCHROLL * 515 |
- | |
11 | 8 | ||
12 | void I2C_OutputAmplifierOffsets(void) { |
9 | void I2C_OutputAmplifierOffsets(void) { |
13 | uint16_t timeout = setDelay(2000); |
10 | uint16_t timeout = setDelay(2000); |
14 | I2C_Start(TWI_STATE_GYRO_OFFSET_TX); // initiate data transmission |
11 | I2C_Start(TWI_STATE_GYRO_OFFSET_TX); // initiate data transmission |
15 | // Wait for I2C to finish transmission. |
12 | // Wait for I2C to finish transmission. |