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: main.cpp
- Revision:
- 47:4a955f381a1e
- Parent:
- 46:0d60fbcfb245
- Child:
- 48:4ec055c066b4
--- a/main.cpp Sun Sep 23 16:42:17 2018 +0000 +++ b/main.cpp Sun Sep 23 17:00:19 2018 +0000 @@ -85,7 +85,7 @@ if (strcmp(a,"AT get all")==0) { // config_ram|config_rom|mode|status0|status1|status2|status3|status4|temp0|temp1|temp2|temp3|temp4 pc.printf("%u|%u|", eeprom_config_value, readEEPROMWord(0)); - if (working_mode==3) { + if (working_mode==3 || working_mode==4) { pc.printf("%d|%d|%d|%d|%d|%d|", working_mode, 0, 0, 0, 0, 0); pc.printf("%3.1f|%3.1f|%3.1f|%3.1f|%3.1f\r\n", simulated_temp[0], simulated_temp[1], simulated_temp[2], simulated_temp[3], simulated_temp[4]); } else {