From 425858b27fab4d1ca56876f738faeb4dc21ff86b Mon Sep 17 00:00:00 2001 From: Paolo Patruno Date: Fri, 25 Feb 2022 18:36:45 +0100 Subject: [PATCH] minors --- platformio/stima_v3/sensor_config/src/sensor_config.ino | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/platformio/stima_v3/sensor_config/src/sensor_config.ino b/platformio/stima_v3/sensor_config/src/sensor_config.ino index 38fbcc7a7..729bf265f 100644 --- a/platformio/stima_v3/sensor_config/src/sensor_config.ino +++ b/platformio/stima_v3/sensor_config/src/sensor_config.ino @@ -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); } @@ -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); } @@ -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); }