Revision e5a77cdb examples/rawdata/rawdata.ino
| examples/rawdata/rawdata.ino | ||
|---|---|---|
| 20 | 20 |
/* Set the delay between fresh samples */ |
| 21 | 21 |
#define BNO055_SAMPLERATE_DELAY_MS (100) |
| 22 | 22 |
|
| 23 |
Adafruit_BNO055 bno = Adafruit_BNO055(); |
|
| 23 |
// Check I2C device address and correct line below (by default address is 0x29 or 0x28) |
|
| 24 |
// id, address |
|
| 25 |
Adafruit_BNO055 bno = Adafruit_BNO055(-1, 0x28); |
|
| 24 | 26 |
|
| 25 | 27 |
/**************************************************************************/ |
| 26 | 28 |
/* |
| ... | ... | |
| 29 | 31 |
/**************************************************************************/ |
| 30 | 32 |
void setup(void) |
| 31 | 33 |
{
|
| 32 |
Serial.begin(9600);
|
|
| 34 |
Serial.begin(115200);
|
|
| 33 | 35 |
Serial.println("Orientation Sensor Raw Data Test"); Serial.println("");
|
| 34 | 36 |
|
| 35 | 37 |
/* Initialise the sensor */ |
Also available in: Unified diff