Skip to content

Commit

Permalink
minors
Browse files Browse the repository at this point in the history
  • Loading branch information
pat1 committed Feb 25, 2022
1 parent 2a12a11 commit 425858b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions platformio/stima_v3/sensor_config/src/sensor_config.ino
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ void loop() {

new_address= -1;
while (new_address < 1 || new_address > 127){
Serial.println(F("digit new i2c address for i2c-wind (1-127) (default I2C_WIND_DEFAULT_ADDRESS)"));
Serial.print(F("digit new i2c address for i2c-wind (1-127) default: "));
Serial.println(I2C_WIND_DEFAULT_ADDRESS);
new_address=Serial.parseInt();
Serial.println(new_address);
}
Expand Down Expand Up @@ -208,7 +209,8 @@ void loop() {
new_address=-1;

while (new_address < 1 || new_address > 127){
Serial.println(F("digit new i2c address for i2c-th (1-127) (default I2C_TH_DEFAULT_ADDRESS)"));
Serial.print(F("digit new i2c address for i2c-th (1-127) default: "));
Serial.println(I2C_TH_DEFAULT_ADDRESS);
new_address=Serial.parseInt();
Serial.println(new_address);
}
Expand Down Expand Up @@ -336,7 +338,8 @@ void loop() {
uint8_t rain_for_tip=0;

while (new_address < 1 || new_address > 127){
Serial.println(F("digit new i2c address for i2c-rain (1-127) (default I2C_RAIN_DEFAULT_ADDRESS)"));
Serial.print(F("digit new i2c address for i2c-rain (1-127) default: "));
Serial.println(I2C_RAIN_DEFAULT_ADDRESS);
new_address=Serial.parseInt();
Serial.println(new_address);
}
Expand Down

0 comments on commit 425858b

Please sign in to comment.