Compare commits
3 Commits
v1.5.11
...
v1.5.11-be
Author | SHA1 | Date | |
---|---|---|---|
c17ab2c434 | |||
ec7386922e | |||
1eb81fad5d |
@@ -1,5 +1,13 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.5.11-beta1] - 2025-08-28
|
||||||
|
### Changed
|
||||||
|
- update platformio.ini for beta version v1.5.11-beta1
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- adjust spacing in loop structure and enable tare function in scale loop
|
||||||
|
|
||||||
|
|
||||||
## [1.5.11] - 2025-08-27
|
## [1.5.11] - 2025-08-27
|
||||||
### Changed
|
### Changed
|
||||||
- update platformio.ini for version v1.5.11
|
- update platformio.ini for version v1.5.11
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
version = "1.5.11"
|
version = "1.5.11-beta1"
|
||||||
to_old_version = "1.5.0"
|
to_old_version = "1.5.0"
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@@ -171,7 +171,9 @@ void loop() {
|
|||||||
oledShowMessage("Scale not calibrated");
|
oledShowMessage("Scale not calibrated");
|
||||||
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
}else{
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
// Ausgabe der Waage auf Display
|
// Ausgabe der Waage auf Display
|
||||||
if(pauseMainTask == 0)
|
if(pauseMainTask == 0)
|
||||||
{
|
{
|
||||||
|
@@ -48,6 +48,8 @@ void scale_loop(void * parameter) {
|
|||||||
Serial.println("Scale Loop started");
|
Serial.println("Scale Loop started");
|
||||||
Serial.println("++++++++++++++++++++++++++++++");
|
Serial.println("++++++++++++++++++++++++++++++");
|
||||||
|
|
||||||
|
scale.tare();
|
||||||
|
|
||||||
for(;;) {
|
for(;;) {
|
||||||
if (scale.is_ready())
|
if (scale.is_ready())
|
||||||
{
|
{
|
||||||
@@ -120,7 +122,7 @@ void start_scale(bool touchSensorConnected) {
|
|||||||
if (scale.wait_ready_timeout(1000))
|
if (scale.wait_ready_timeout(1000))
|
||||||
{
|
{
|
||||||
scale.set_scale(calibrationValue); // this value is obtained by calibrating the scale with known weights; see the README for details
|
scale.set_scale(calibrationValue); // this value is obtained by calibrating the scale with known weights; see the README for details
|
||||||
scale.tare();
|
//scale.tare();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Display Gewicht
|
// Display Gewicht
|
||||||
|
Reference in New Issue
Block a user