diff --git a/CMakeLists.txt b/CMakeLists.txt index 9caaa9d..cc6ca64 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,11 +13,11 @@ set(PICO_SDK_PATH "/home/martin/pico/pico-sdk") # Pull in Raspberry Pi Pico SDK (must be before project) include("cmake/pico_sdk_import.cmake") -project(gbmanager VERSION "1.0.1" LANGUAGES C CXX ASM) +project(gbmanager VERSION "1.0.2" LANGUAGES C CXX ASM) # Initialise the Raspberry Pi Pico SDK pico_sdk_init() add_subdirectory(modules/pico-onewire) add_subdirectory(modules/fmt) -add_subdirectory(src) \ No newline at end of file +add_subdirectory(src) diff --git a/src/gbmanager.cpp b/src/gbmanager.cpp index 3b3cfdc..19290e9 100644 --- a/src/gbmanager.cpp +++ b/src/gbmanager.cpp @@ -108,7 +108,7 @@ int main() { relais.activate(isHeating); - lcdText = fmt::format("ACT: {:05.2f}{}C {}\nACT: {:05.2f}{}C {}", + lcdText = fmt::format("ACT: {:05.2f}{}C {}\nTGT: {:05.2f}{}C {}", temp_act, CUSTOM_CHAR_DEG, heatInfo, temp_tgt, CUSTOM_CHAR_DEG, systemInfo); myLCD.setCursor(0, 0); @@ -116,4 +116,4 @@ int main() { sleep_until((absolute_time_t){destTime}); } -} \ No newline at end of file +}