Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed mbed-STM32F103C8T6 eeprom_flash Watchdog PinDetect DS1820
Diff: main.cpp
- Revision:
- 58:70930f201f97
- Parent:
- 57:9bf4c8142958
- Child:
- 59:0c6f3541beda
--- a/main.cpp Sun Oct 07 08:36:56 2018 +0000 +++ b/main.cpp Tue Oct 06 08:17:06 2020 +0000 @@ -142,10 +142,10 @@ given_min_back = (config_int >> 8) & 0x000000FF; given_max_hot = config_int & 0x000000FF; - if ( given_min_mebel > 9 && given_min_mebel < 21 - && given_min_litos > 4 && given_min_litos < 16 - && given_min_back > 4 && given_min_back < 21 - && given_max_hot > 14 && given_max_hot < 51) { + if ( given_min_mebel > 3 && given_min_mebel < 21 + && given_min_litos > 3 && given_min_litos < 21 + && given_min_back > 3 && given_min_back < 21 + && given_max_hot > 15 && given_max_hot < 51) { // all given temps are in right range eeprom_config_value = config_int; pc.printf("%u\r\n", eeprom_config_value);