diff --git a/examples/BHI260AP_6DoF/BHI260AP_6DoF.ino b/examples/BHI260AP_6DoF/BHI260AP_6DoF.ino index 8122e94..f5695e2 100644 --- a/examples/BHI260AP_6DoF/BHI260AP_6DoF.ino +++ b/examples/BHI260AP_6DoF/BHI260AP_6DoF.ino @@ -86,6 +86,10 @@ void setup() bhy.setPins(BHI260AP_RST, BHI260AP_IRQ); Serial.println("Initializing Sensors..."); + + /*Set the default firmware, only 6 axes, no other functions*/ + bhy.setFirmware(bhy2_firmware_image, sizeof(bhy2_firmware_image)); + #ifdef BHY2_USE_I2C // Using I2C interface // BHI260AP_SLAVE_ADDRESS_L = 0x28 diff --git a/examples/BHI260AP_DebugInfo/BHI260AP_DebugInfo.ino b/examples/BHI260AP_DebugInfo/BHI260AP_DebugInfo.ino index 67ea7d1..b4c108a 100644 --- a/examples/BHI260AP_DebugInfo/BHI260AP_DebugInfo.ino +++ b/examples/BHI260AP_DebugInfo/BHI260AP_DebugInfo.ino @@ -59,6 +59,10 @@ void setup() bhy.setPins(BHI260AP_RST, BHI260AP_IRQ); Serial.println("Initializing Sensors..."); + + /*Set the default firmware, only 6 axes, no other functions*/ + bhy.setFirmware(bhy2_firmware_image, sizeof(bhy2_firmware_image)); + #ifdef BHY2_USE_I2C // Using I2C interface // BHI260AP_SLAVE_ADDRESS_L = 0x28 diff --git a/examples/BHI260AP_Orientation/BHI260AP_Orientation.ino b/examples/BHI260AP_Orientation/BHI260AP_Orientation.ino index 715d526..e6ba460 100644 --- a/examples/BHI260AP_Orientation/BHI260AP_Orientation.ino +++ b/examples/BHI260AP_Orientation/BHI260AP_Orientation.ino @@ -60,6 +60,10 @@ void setup() bhy.setPins(BHI260AP_RST, BHI260AP_IRQ); Serial.println("Initializing Sensors..."); + + /*Set the default firmware, only 6 axes, no other functions*/ + bhy.setFirmware(bhy2_firmware_image, sizeof(bhy2_firmware_image)); + #ifdef BHY2_USE_I2C // Using I2C interface // BHI260AP_SLAVE_ADDRESS_L = 0x28 diff --git a/examples/BHI260AP_StepCounter/BHI260AP_StepCounter.ino b/examples/BHI260AP_StepCounter/BHI260AP_StepCounter.ino index 79c1124..2582598 100644 --- a/examples/BHI260AP_StepCounter/BHI260AP_StepCounter.ino +++ b/examples/BHI260AP_StepCounter/BHI260AP_StepCounter.ino @@ -73,6 +73,10 @@ void setup() bhy.setPins(BHI260AP_RST, BHI260AP_IRQ); Serial.println("Initializing Sensors..."); + + /*Set the default firmware, only 6 axes, no other functions*/ + bhy.setFirmware(bhy2_firmware_image, sizeof(bhy2_firmware_image)); + #ifdef BHY2_USE_I2C // Using I2C interface // BHI260AP_SLAVE_ADDRESS_L = 0x28