resources format adjusted

This commit is contained in:
hg
2014-03-05 23:33:05 +01:00
parent 7daee36d62
commit 409c81b9f7
2 changed files with 50 additions and 51 deletions

View File

@ -14,7 +14,6 @@ String TEXT;
const String& getResource(uint8_t key) { const String& getResource(uint8_t key) {
// return TEXT_RESOURCES[key];
TEXT = String("T") + key + String(": "); TEXT = String("T") + key + String(": ");
return TEXT; return TEXT;
} }

View File

@ -63,56 +63,56 @@ const uint8_t THERMCALIBRATE_HELP_KEY = 47;
/* /*
const String TEXT_RESOURCES[] = { RESOURCES:
"Text1", "Text1"
"PeriodMeasure (ms): ", "PeriodMeasure (ms): "
"Alpha: ", "Alpha: "
"Calibration: ", "Calibration: "
"Info: ", "Info: "
"Debug: ", "Debug: "
"COMPILE_TIME_DEBUG: ", "COMPILE_TIME_DEBUG: "
"TimeOuts: ", "TimeOuts: "
"Cycles: ", "Cycles: "
"Period (ms): ", "Period (ms): "
"Alpha: ", "Alpha: "
"index: ", "index: "
"cal: ", "cal: "
"t: ", "t: "
"ts: ", "ts: "
", ", ", "
" enable : enable the calibration mode", " enable : enable the calibration mode"
" disable : disable the calibration mode", " disable : disable the calibration mode"
" show : show parameters for calibration process", " show : show parameters for calibration process"
" r : set value of calibration resistor", " r : set value of calibration resistor"
" start <0..3>: start calibration on channel", " start <0..3>: start calibration on channel"
" stop <10..3>: stop calibration on channel", " stop <10..3>: stop calibration on channel"
" enabled : ", " enabled : "
" r_cal : ", " r_cal : "
"setTemperature: i=", "setTemperature: i="
"t=", "t="
"t_smoothed=", "t_smoothed="
"CONF: ", "CONF: "
"MODE: ", "MODE: "
"Initializing EEPROM", "Initializing EEPROM"
"State 0", "State 0"
"Switching to State 1", "Switching to State 1"
"Switching to State 10", "Switching to State 10"
"State 9", "State 9"
"Timeout: ", "Timeout: "
"State 10", "State 10"
"No, no, we are in calibration mode, so directly switch to state 20", "No, no, we are in calibration mode, so directly switch to state 20"
"Switching to state 11", "Switching to state 11"
"r_avg on channel ", "r_avg on channel "
"calibration factor: ", "calibration factor: "
"Calibration stopped", "Calibration stopped"
"Save calibration factor for channel ", "Save calibration factor for channel "
": ", ": "
"HELP List this help for all commands", "HELP List this help for all commands"
"command not found", "command not found"
"Thermometer configuration operations", "Thermometer configuration operations"
"Show thermometer measurement values", "Show thermometer measurement values"
"Thermometer calibration operations", "Thermometer calibration operations"
}; END RESOURCES
*/ */