STM32F103C8T6_WIFI_Heating_system
Dependencies: mbed mbed-STM32F103C8T6 eeprom_flash Watchdog PinDetect DS1820
- Bluepill STM32F103C8T6 Heating system
- _This project is core part of bigger heating system project!_
Features
- Reading temperature from four DS18B20 sensors
- Making a decision about switching on/off heater and pomp
- Executing simple user commands from UART
- Storing state parameters to program memory (EEPROM emulation)
Diff: temp_controller/temp_controller.cpp
- Revision:
- 42:03cbc2a6f63b
- Parent:
- 41:978c2d85a0e7
- Child:
- 45:abc682827659
diff -r 978c2d85a0e7 -r 03cbc2a6f63b temp_controller/temp_controller.cpp --- a/temp_controller/temp_controller.cpp Fri Sep 21 19:23:45 2018 +0000 +++ b/temp_controller/temp_controller.cpp Sat Sep 22 08:32:20 2018 +0000 @@ -125,10 +125,10 @@ break; case 1: // 1 - ECO - eco heating - pc.printf("State %d|%d|%d|%d|%d\r\n", temp_error[0], temp_error[1], temp_error[2], temp_error[3], temp_error[4] ); - pc.printf("Temp %3.1f|%3.1f|%3.1f|%3.1f|%3.1f\r\n", temp[0], temp[1], temp[2], temp[3], temp[4] ); - pc.printf("RAM_config=%X, FLASH_config=%X\r\n", eeprom_config_value ,readEEPROMWord(0)); - pc.printf("======================================="); + //pc.printf("State %d|%d|%d|%d|%d\r\n", temp_error[0], temp_error[1], temp_error[2], temp_error[3], temp_error[4] ); + //pc.printf("Temp %3.1f|%3.1f|%3.1f|%3.1f|%3.1f\r\n", temp[0], temp[1], temp[2], temp[3], temp[4] ); + //pc.printf("RAM_config=%X, FLASH_config=%X\r\n", eeprom_config_value ,readEEPROMWord(0)); + //pc.printf("======================================="); pomp_OFF = !pomp_OFF; heater_OFF = !heater_OFF; break;