v0.0.6
This commit is contained in:
parent
a784bd6549
commit
26d3fce10a
1 changed files with 39 additions and 7 deletions
4
Main.qml
4
Main.qml
|
|
@ -554,7 +554,9 @@ Window {
|
|||
else {
|
||||
water_level.color = root.water_color;
|
||||
}
|
||||
|
||||
if(root.distance_count > 1000) {
|
||||
root.distance_count = 5;
|
||||
}
|
||||
console.log("Current reading is: " + current_reading)
|
||||
console.log("Normalized height is: " + normalized_height)
|
||||
water_level.current_level = normalized_height;
|
||||
|
|
|
|||
Loading…
Reference in a new issue