Revision e5a77cdb examples/position/position.ino
examples/position/position.ino | ||
---|---|---|
13 | 13 |
double ACCEL_POS_TRANSITION = 0.5 * ACCEL_VEL_TRANSITION * ACCEL_VEL_TRANSITION; |
14 | 14 |
double DEG_2_RAD = 0.01745329251; //trig functions require radians, BNO055 outputs degrees |
15 | 15 |
|
16 |
Adafruit_BNO055 bno = Adafruit_BNO055(55); |
|
16 |
// Check I2C device address and correct line below (by default address is 0x29 or 0x28) |
|
17 |
// id, address |
|
18 |
Adafruit_BNO055 bno = Adafruit_BNO055(55, 0x28); |
|
17 | 19 |
|
18 | 20 |
void setup(void) |
19 | 21 |
{ |
Also available in: Unified diff