Rev 1971 | Rev 2017 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1971 | Rev 2015 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | 6 | ||
7 | /* |
7 | /* |
8 | * Configuration for my prototype board with InvenSense gyros. |
8 | * Configuration for my prototype board with InvenSense gyros. |
9 | * The FC 1.3 board is installed upside down, therefore Z acc is reversed but not roll. |
9 | * The FC 1.3 board is installed upside down, therefore Z acc is reversed but not roll. |
10 | */ |
- | |
11 | const uint8_t GYRO_REVERSED[3] = { 0, 0, 0 }; |
- | |
Line -... | Line 10... | ||
- | 10 | */ |
|
12 | const uint8_t ACC_REVERSED[3] = { 0, 0, 1 }; |
11 | |
13 | 12 | // The special auto-zero feature of this gyro needs a port. |
|
14 | #define AUTOZERO_PORT PORTD |
13 | #define AUTOZERO_PORT PORTD |
Line 15... | Line 14... | ||
15 | #define AUTOZERO_DDR DDRD |
14 | #define AUTOZERO_DDR DDRD |