File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
examples/Example19-Interrupt Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ byte imuINTPin = 3;
34
34
35
35
void setup ()
36
36
{
37
- Serial.begin (9600 );
37
+ Serial.begin (115200 );
38
38
Serial.println ();
39
39
Serial.println (" BNO080 Read example with Interrupt handler, getReading and multiple access" );
40
40
@@ -50,7 +50,9 @@ void setup()
50
50
// Wire.setClockStretchLimit(4000);
51
51
// //=================================
52
52
53
- // imuINTPin is used as an active-low interrupt. .begin configures the pinMode as INPUT_PULLUP
53
+ // myIMU.enableDebugging(); // Uncomment this line to enable debug messages on Serial
54
+
55
+ // imuINTPin is used as an active-low interrupt. .begin configures the pinMode as INPUT_PULLUP
54
56
if (myIMU.begin (BNO080_DEFAULT_ADDRESS, Wire, imuINTPin) == false )
55
57
{
56
58
Serial.println (" BNO080 not detected at default I2C address. Check your jumpers and the hookup guide. Freezing..." );
You can’t perform that action at this time.
0 commit comments