Skip to content

Commit 30fa0ee

Browse files
committed
Extending the initial delay after softReset. Makes a BIG difference to the reliability!
1 parent e398d7d commit 30fa0ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_BNO080_Arduino_Library.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ void BNO080::softReset(void)
955955
sendPacket(CHANNEL_EXECUTABLE, 1); //Transmit packet on channel 1, 1 byte
956956

957957
//Read all incoming data and flush it
958-
delay(50);
958+
delay(150); // 50-100 is unreliable. 150 seems to work just fine.
959959

960960
if (_printDebug == true)
961961
_debugPort->println(F("softReset: first receivePacket"));

0 commit comments

Comments
 (0)