diff --git a/examples/Example10-PrintPacket/Example10-PrintPacket.ino b/examples/Example10-PrintPacket/Example10-PrintPacket.ino index 1a9d786..cbdd4a0 100644 --- a/examples/Example10-PrintPacket/Example10-PrintPacket.ino +++ b/examples/Example10-PrintPacket/Example10-PrintPacket.ino @@ -16,7 +16,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include diff --git a/examples/Example11-AdvancedConfig/Example11-AdvancedConfig.ino b/examples/Example11-AdvancedConfig/Example11-AdvancedConfig.ino index 26f1d2e..2db3995 100644 --- a/examples/Example11-AdvancedConfig/Example11-AdvancedConfig.ino +++ b/examples/Example11-AdvancedConfig/Example11-AdvancedConfig.ino @@ -16,7 +16,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -26,7 +26,7 @@ BNO080 myIMU; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); @@ -34,7 +34,7 @@ void setup() //The first argument is the I2C address of the sensor, either 0x4B (default) or 0x4A //The second is the I2C port to use. Wire, Wire1, softWire, etc. - myIMU.begin(0x4A, Wire1); + myIMU.begin(0x4A, Wire1); Wire1.setClock(400000); //Increase I2C data rate to 400kHz diff --git a/examples/Example12-LinearAccelerometer/Example12-LinearAccelerometer.ino b/examples/Example12-LinearAccelerometer/Example12-LinearAccelerometer.ino index 90b8fd0..0896281 100644 --- a/examples/Example12-LinearAccelerometer/Example12-LinearAccelerometer.ino +++ b/examples/Example12-LinearAccelerometer/Example12-LinearAccelerometer.ino @@ -13,7 +13,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -23,7 +23,7 @@ BNO080 myIMU; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); diff --git a/examples/Example13-TimeStamp/Example13-TimeStamp.ino b/examples/Example13-TimeStamp/Example13-TimeStamp.ino index 0d7e4a9..06e8d12 100644 --- a/examples/Example13-TimeStamp/Example13-TimeStamp.ino +++ b/examples/Example13-TimeStamp/Example13-TimeStamp.ino @@ -16,7 +16,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -26,7 +26,7 @@ BNO080 myIMU; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); diff --git a/examples/Example14-TwoSensors/Example14-TwoSensors.ino b/examples/Example14-TwoSensors/Example14-TwoSensors.ino index e456289..768f433 100644 --- a/examples/Example14-TwoSensors/Example14-TwoSensors.ino +++ b/examples/Example14-TwoSensors/Example14-TwoSensors.ino @@ -17,7 +17,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -28,7 +28,7 @@ BNO080 myIMU2; //Closed I2C ADR jumper - goes to address 0x4A void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); diff --git a/examples/Example15-RawReadings/Example15-RawReadings.ino b/examples/Example15-RawReadings/Example15-RawReadings.ino index 48955ef..1d0c0de 100644 --- a/examples/Example15-RawReadings/Example15-RawReadings.ino +++ b/examples/Example15-RawReadings/Example15-RawReadings.ino @@ -13,7 +13,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -23,7 +23,7 @@ BNO080 myIMU; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); @@ -84,4 +84,4 @@ void loop() Serial.println(); } -} \ No newline at end of file +} diff --git a/examples/Example2-Accelerometer/Example2-Accelerometer.ino b/examples/Example2-Accelerometer/Example2-Accelerometer.ino index 2a64c7e..738b321 100644 --- a/examples/Example2-Accelerometer/Example2-Accelerometer.ino +++ b/examples/Example2-Accelerometer/Example2-Accelerometer.ino @@ -13,7 +13,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -23,7 +23,7 @@ BNO080 myIMU; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); diff --git a/examples/Example3-Gyro/Example3-Gyro.ino b/examples/Example3-Gyro/Example3-Gyro.ino index 2557ab6..420df94 100644 --- a/examples/Example3-Gyro/Example3-Gyro.ino +++ b/examples/Example3-Gyro/Example3-Gyro.ino @@ -16,7 +16,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -26,7 +26,7 @@ BNO080 myIMU; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); diff --git a/examples/Example4-Magnetometer/Example4-Magnetometer.ino b/examples/Example4-Magnetometer/Example4-Magnetometer.ino index 3905b7e..64bacac 100644 --- a/examples/Example4-Magnetometer/Example4-Magnetometer.ino +++ b/examples/Example4-Magnetometer/Example4-Magnetometer.ino @@ -16,7 +16,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -26,7 +26,7 @@ BNO080 myIMU; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); diff --git a/examples/Example5-StepCounter/Example5-StepCounter.ino b/examples/Example5-StepCounter/Example5-StepCounter.ino index 664f92c..3a83b03 100644 --- a/examples/Example5-StepCounter/Example5-StepCounter.ino +++ b/examples/Example5-StepCounter/Example5-StepCounter.ino @@ -16,7 +16,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -26,7 +26,7 @@ BNO080 myIMU; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); diff --git a/examples/Example6-MetaData/Example6-MetaData.ino b/examples/Example6-MetaData/Example6-MetaData.ino index 85b20e4..01e9a29 100644 --- a/examples/Example6-MetaData/Example6-MetaData.ino +++ b/examples/Example6-MetaData/Example6-MetaData.ino @@ -16,7 +16,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -26,7 +26,7 @@ BNO080 myIMU; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Reading Metadata Example"); diff --git a/examples/Example7-StabilityClassifier/Example7-StabilityClassifier.ino b/examples/Example7-StabilityClassifier/Example7-StabilityClassifier.ino index 6803ad9..c02f52c 100644 --- a/examples/Example7-StabilityClassifier/Example7-StabilityClassifier.ino +++ b/examples/Example7-StabilityClassifier/Example7-StabilityClassifier.ino @@ -17,7 +17,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -27,7 +27,7 @@ BNO080 myIMU; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); diff --git a/examples/Example8-ActivityClassifier/Example8-ActivityClassifier.ino b/examples/Example8-ActivityClassifier/Example8-ActivityClassifier.ino index 55c0546..cd45d0a 100644 --- a/examples/Example8-ActivityClassifier/Example8-ActivityClassifier.ino +++ b/examples/Example8-ActivityClassifier/Example8-ActivityClassifier.ino @@ -25,7 +25,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -37,7 +37,7 @@ byte activityConfidences[9]; //This array will be filled with the confidence lev void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); @@ -54,7 +54,7 @@ void setup() //Send data update every 50ms, with sensor specific config word //Pass in a pointer to our activityConfidences array as well - myIMU.enableActivityClassifier(50, enableActivities, activityConfidences); + myIMU.enableActivityClassifier(50, enableActivities, activityConfidences); Serial.println(F("Activity Classifier enabled")); } @@ -66,7 +66,7 @@ void loop() { //getActivityClassifier will modify our activityConfidences array //It will return the most likely activity as well. - byte mostLikelyActivity = myIMU.getActivityClassifier(); + byte mostLikelyActivity = myIMU.getActivityClassifier(); Serial.print("Most likely activity: "); printActivityName(mostLikelyActivity); diff --git a/examples/Example9-Calibrate/Example9-Calibrate.ino b/examples/Example9-Calibrate/Example9-Calibrate.ino index 5b671a2..29b5f06 100644 --- a/examples/Example9-Calibrate/Example9-Calibrate.ino +++ b/examples/Example9-Calibrate/Example9-Calibrate.ino @@ -16,7 +16,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -26,7 +26,7 @@ BNO080 myIMU; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); @@ -84,7 +84,7 @@ void loop() { Serial.println("Calibration data failed to store. Please try again."); } - + //myIMU.endCalibration(); //Turns off all calibration //In general, calibration should be left on at all times. The BNO080 //auto-calibrates and auto-records cal data roughly every 5 minutes diff --git a/examples/SPI/Example12-LinearAccelerometer/Example12-LinearAccelerometer.ino b/examples/SPI/Example12-LinearAccelerometer/Example12-LinearAccelerometer.ino index 104ea07..ac67042 100644 --- a/examples/SPI/Example12-LinearAccelerometer/Example12-LinearAccelerometer.ino +++ b/examples/SPI/Example12-LinearAccelerometer/Example12-LinearAccelerometer.ino @@ -13,7 +13,7 @@ Hardware Connections: Attach the Qwiic Shield to your Arduino/Photon/ESP32 or other Plug the sensor onto the shield - Serial.print it out at 9600 baud to serial monitor. + Serial.print it out at 115200 baud to serial monitor. */ #include @@ -29,7 +29,7 @@ byte imuRSTPin = 7; void setup() { - Serial.begin(9600); + Serial.begin(115200); Serial.println(); Serial.println("BNO080 Read Example"); @@ -63,4 +63,3 @@ void loop() Serial.println(); } } -