Compare commits
3 Commits
v2.0.2-bet
...
v2.0.2-bet
Author | SHA1 | Date | |
---|---|---|---|
77fbacc681 | |||
b4f1fc3b0a | |||
3a82175bb6 |
17
CHANGELOG.md
17
CHANGELOG.md
@@ -1,5 +1,22 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [2.0.2-beta3] - 2025-09-02
|
||||||
|
### Added
|
||||||
|
- add updateOctoSpoolId for OctoPrint integration and change autoSetToBambuSpoolId type to uint16_t
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- update platformio.ini for beta version v2.0.2-beta3
|
||||||
|
- update changelog and header for version v2.0.2-beta2
|
||||||
|
- update platformio.ini for beta version v2.0.2-beta2
|
||||||
|
- update changelog and header for version v2.0.2-beta1
|
||||||
|
- update platformio.ini for beta version v2.0.2-beta1
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- correct tare scale function to set scaleTareRequest flag
|
||||||
|
- reset weight counter logic and update spool ID in loop function
|
||||||
|
- reduce delay in start_scale function and reset weight after tare
|
||||||
|
|
||||||
|
|
||||||
## [2.0.2-beta2] - 2025-09-02
|
## [2.0.2-beta2] - 2025-09-02
|
||||||
### Added
|
### Added
|
||||||
- add updateOctoSpoolId for OctoPrint integration and change autoSetToBambuSpoolId type to uint16_t
|
- add updateOctoSpoolId for OctoPrint integration and change autoSetToBambuSpoolId type to uint16_t
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
version = "2.0.2-beta2"
|
version = "2.0.2-beta3"
|
||||||
to_old_version = "1.5.10"
|
to_old_version = "1.5.10"
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@@ -141,7 +141,7 @@ uint8_t setAutoTare(bool autoTareValue) {
|
|||||||
uint8_t tareScale() {
|
uint8_t tareScale() {
|
||||||
Serial.println("Tare scale");
|
Serial.println("Tare scale");
|
||||||
scale.tare();
|
scale.tare();
|
||||||
resetWeightFilter(); // Reset stabilization filter after tare
|
scaleTareRequest == true;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
@@ -151,6 +151,7 @@ void scale_loop(void * parameter) {
|
|||||||
Serial.println("Scale Loop started");
|
Serial.println("Scale Loop started");
|
||||||
Serial.println("++++++++++++++++++++++++++++++");
|
Serial.println("++++++++++++++++++++++++++++++");
|
||||||
|
|
||||||
|
scaleTareRequest == true;
|
||||||
// Initialize weight filter
|
// Initialize weight filter
|
||||||
resetWeightFilter();
|
resetWeightFilter();
|
||||||
lastMeasurementTime = millis();
|
lastMeasurementTime = millis();
|
||||||
@@ -257,11 +258,6 @@ void start_scale(bool touchSensorConnected) {
|
|||||||
// Display Gewicht
|
// Display Gewicht
|
||||||
oledShowWeight(0);
|
oledShowWeight(0);
|
||||||
|
|
||||||
vTaskDelay(500 / portTICK_PERIOD_MS);
|
|
||||||
scale.tare();
|
|
||||||
vTaskDelay(500 / portTICK_PERIOD_MS);
|
|
||||||
weight = 0;
|
|
||||||
|
|
||||||
Serial.println("starte Scale Task");
|
Serial.println("starte Scale Task");
|
||||||
BaseType_t result = xTaskCreatePinnedToCore(
|
BaseType_t result = xTaskCreatePinnedToCore(
|
||||||
scale_loop, /* Function to implement the task */
|
scale_loop, /* Function to implement the task */
|
||||||
|
Reference in New Issue
Block a user