feat: implement weight stabilization functions and improve tare handling

This commit is contained in:
Manuel Weiser committed 2025-08-30 14:55:42 +02:00
1 parent bf63ecd594
commit 8d82e221b5
2 files changed
+145 -24

No files matched your search

+6
View File
@@ -9,6 +9,12 @@ uint8_t start_scale(bool touchSensorConnected);
uint8_t calibrate_scale();
uint8_t tareScale();
// Weight stabilization functions
void resetWeightFilter();
float calculateMovingAverage();
float applyLowPassFilter(float newValue);
int16_t processWeightReading(float rawWeight);
extern HX711 scale;
extern int16_t weight;
extern uint8_t weigthCouterToApi;