fixes #2
This commit is contained in:
parent
f19a5bab0d
commit
1e70cbb13d
2 changed files with 4 additions and 4 deletions
|
@ -13,11 +13,11 @@ set(PICO_SDK_PATH "/home/martin/pico/pico-sdk")
|
||||||
# Pull in Raspberry Pi Pico SDK (must be before project)
|
# Pull in Raspberry Pi Pico SDK (must be before project)
|
||||||
include("cmake/pico_sdk_import.cmake")
|
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
|
# Initialise the Raspberry Pi Pico SDK
|
||||||
pico_sdk_init()
|
pico_sdk_init()
|
||||||
|
|
||||||
add_subdirectory(modules/pico-onewire)
|
add_subdirectory(modules/pico-onewire)
|
||||||
add_subdirectory(modules/fmt)
|
add_subdirectory(modules/fmt)
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
|
@ -108,7 +108,7 @@ int main() {
|
||||||
|
|
||||||
relais.activate(isHeating);
|
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,
|
temp_act, CUSTOM_CHAR_DEG, heatInfo, temp_tgt,
|
||||||
CUSTOM_CHAR_DEG, systemInfo);
|
CUSTOM_CHAR_DEG, systemInfo);
|
||||||
myLCD.setCursor(0, 0);
|
myLCD.setCursor(0, 0);
|
||||||
|
@ -116,4 +116,4 @@ int main() {
|
||||||
|
|
||||||
sleep_until((absolute_time_t){destTime});
|
sleep_until((absolute_time_t){destTime});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue