calibrate waterlevel offset
This commit is contained in:
parent
8249bfb79f
commit
bdce0530e2
2 changed files with 5 additions and 5 deletions
|
@ -81,7 +81,7 @@ build_flags=
|
|||
-D PIN_SDA=1
|
||||
-D PIN_SCL=2
|
||||
|
||||
-D WATERLEVEL_OFFSET=315.0
|
||||
-D WATERLEVEL_OFFSET=252.0
|
||||
-D WATERLEVEL_FACTOR=-1.0
|
||||
-D RES_AREA=37*56
|
||||
-D WATERLEVELSENSOR_VL53L1X
|
||||
|
@ -131,7 +131,7 @@ build_flags=
|
|||
-D PIN_SDA=1
|
||||
-D PIN_SCL=2
|
||||
|
||||
-D WATERLEVEL_OFFSET=500.0
|
||||
-D WATERLEVEL_OFFSET=470.0
|
||||
-D WATERLEVEL_FACTOR=-1.0
|
||||
-D RES_AREA=20*20*3.1416
|
||||
-D WATERLEVELSENSOR_VL53L1X
|
||||
|
|
|
@ -8,9 +8,9 @@ unsigned long last_check=0;
|
|||
|
||||
#include "wifi_functions.h"
|
||||
|
||||
bool debug=true; //print Serial information
|
||||
bool mqtt=false;
|
||||
bool eccalibrationoutput=true; //serial output for ec calibration
|
||||
bool debug=false; //print Serial information
|
||||
bool mqtt=true;
|
||||
bool eccalibrationoutput=false; //serial output for ec calibration
|
||||
/* Write to file with:
|
||||
sudo stty -F /dev/ttyUSB0 115200
|
||||
cat /dev/ttyUSB0 | tee received.txt
|
||||
|
|
Loading…
Add table
Reference in a new issue