Compare commits
1 Commits
v2.0.0-bet
...
a35f15eca5
| Author | SHA1 | Date | |
|---|---|---|---|
| a35f15eca5 |
@@ -59,6 +59,7 @@ void setup() {
|
|||||||
|
|
||||||
// Scale
|
// Scale
|
||||||
start_scale(touchSensorConnected);
|
start_scale(touchSensorConnected);
|
||||||
|
scale.tare();
|
||||||
|
|
||||||
// WDT initialisieren mit 10 Sekunden Timeout
|
// WDT initialisieren mit 10 Sekunden Timeout
|
||||||
bool panic = true; // Wenn true, löst ein WDT-Timeout einen System-Panik aus
|
bool panic = true; // Wenn true, löst ein WDT-Timeout einen System-Panik aus
|
||||||
|
|||||||
@@ -122,8 +122,8 @@ void start_scale(bool touchSensorConnected) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
scale.set_scale(calibrationValue);
|
scale.set_scale(calibrationValue);
|
||||||
vTaskDelay(pdMS_TO_TICKS(5000));
|
//vTaskDelay(pdMS_TO_TICKS(5000));
|
||||||
scale.tare();
|
//scale.tare();
|
||||||
|
|
||||||
// Display Gewicht
|
// Display Gewicht
|
||||||
oledShowWeight(0);
|
oledShowWeight(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user