Skip to content

Commit

Permalink
[SensorBHI260AP] Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Jan 6, 2025
1 parent c3acde2 commit 53ba858
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/BHI260AP_6DoF/BHI260AP_6DoF.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions examples/BHI260AP_DebugInfo/BHI260AP_DebugInfo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions examples/BHI260AP_Orientation/BHI260AP_Orientation.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions examples/BHI260AP_StepCounter/BHI260AP_StepCounter.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53ba858

Please sign in to comment.