Skip to content

Commit

Permalink
Update bbn_m5atomS3_lite_env3.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Nov 6, 2024
1 parent c3616be commit 3017f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbn_m5atomS3_lite_env3/bbn_m5atomS3_lite_env3.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ void setup() {
Serial.begin(4800);

int i = 0;
while (!qmp6988.begin(&Wire, QMP6988_SLAVE_ADDRESS_L, G2, G1, 100000U) && i < 10) {
while (!qmp6988.begin(&Wire, QMP6988_SLAVE_ADDRESS_L, G2, G1, 100000U) && i < 3) {
gen_nmea0183_msg("$BBTXT,01,01,01,Sensor not found type=%s", "QMP6988");
delay(4);
i++;
}
i = 0;
while (!sht3x.begin(&Wire, SHT3X_I2C_ADDR, G2, G1, 100000U) && i < 10) {
while (!sht3x.begin(&Wire, SHT3X_I2C_ADDR, G2, G1, 100000U) && i < 3) {
gen_nmea0183_msg("$BBTXT,01,01,01,Sensor not found type=%s", "SHT3X");
delay(4);
i++;
Expand Down

0 comments on commit 3017f36

Please sign in to comment.