Revision e5a77cdb examples/sensorapi/sensorapi.ino
examples/sensorapi/sensorapi.ino | ||
---|---|---|
31 | 31 |
/* Set the delay between fresh samples */ |
32 | 32 |
#define BNO055_SAMPLERATE_DELAY_MS (100) |
33 | 33 |
|
34 |
Adafruit_BNO055 bno = Adafruit_BNO055(55); |
|
34 |
// Check I2C device address and correct line below (by default address is 0x29 or 0x28) |
|
35 |
// id, address |
|
36 |
Adafruit_BNO055 bno = Adafruit_BNO055(55, 0x28); |
|
35 | 37 |
|
36 | 38 |
/**************************************************************************/ |
37 | 39 |
/* |
... | ... | |
118 | 120 |
/**************************************************************************/ |
119 | 121 |
void setup(void) |
120 | 122 |
{ |
121 |
Serial.begin(9600);
|
|
123 |
Serial.begin(115200);
|
|
122 | 124 |
Serial.println("Orientation Sensor Test"); Serial.println(""); |
123 | 125 |
|
124 | 126 |
/* Initialise the sensor */ |
Also available in: Unified diff