Rev 514 | Rev 523 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 514 | Rev 519 | ||
---|---|---|---|
Line 87... | Line 87... | ||
87 | #if !(ALLCHARSDEBUG|(WRITECHARS != -1)) |
87 | #if !(ALLCHARSDEBUG|(WRITECHARS != -1)) |
88 | if (verbose) write_ascii_string_pgm(2, 9, ee_msg[0]); // Loading data |
88 | if (verbose) write_ascii_string_pgm(2, 9, ee_msg[0]); // Loading data |
89 | #endif |
89 | #endif |
90 | COSD_FLAGS = eeprom_read_byte(&ee_COSD_FLAGS); |
90 | COSD_FLAGS = eeprom_read_byte(&ee_COSD_FLAGS); |
91 | COSD_DISPLAYMODE = eeprom_read_byte(&ee_COSD_DISPLAYMODE); |
91 | COSD_DISPLAYMODE = eeprom_read_byte(&ee_COSD_DISPLAYMODE); |
92 | //if (verbose) write_ndigit_number_u(23, 11, COSD_DISPLAYMODE, 10, 0); |
92 | //if (verbose) write_ndigit_number_u(23, 11, COSD_DISPLAYMODE, 2, 0); |
93 | } else { |
93 | } else { |
94 | #if !(ALLCHARSDEBUG|(WRITECHARS != -1)) |
94 | #if !(ALLCHARSDEBUG|(WRITECHARS != -1)) |
95 | if (verbose) write_ascii_string_pgm(2, 9, ee_msg[1]); // Loading data |
95 | if (verbose) write_ascii_string_pgm(2, 9, ee_msg[1]); // Loading data |
96 | #endif |
96 | #endif |
97 | } |
97 | } |
Line 140... | Line 140... | ||
140 | write_ascii_string_pgm(2, 5, init_point[4]); // Number of Cells |
140 | write_ascii_string_pgm(2, 5, init_point[4]); // Number of Cells |
141 | //write_ascii_string(2, 5, "Number of Cells:"); |
141 | //write_ascii_string(2, 5, "Number of Cells:"); |
142 | write_ndigit_number_u(21, 5, cellnum, 1, 0); |
142 | write_ndigit_number_u(21, 5, cellnum, 1, 0); |
143 | write_ascii_string_pgm(2, 6, init_point[5]); // Warn Voltage |
143 | write_ascii_string_pgm(2, 6, init_point[5]); // Warn Voltage |
144 | //write_ascii_string(2, 6, "Warn Voltage :"); |
144 | //write_ascii_string(2, 6, "Warn Voltage :"); |
145 | write_ndigit_number_s_10th(20, 6, min_voltage, 100, 0); |
145 | write_ndigit_number_s_10th(20, 6, min_voltage, 3, 0); |
146 | write_ascii_string_pgm(2, 7, init_point[6]); // Max Voltage |
146 | write_ascii_string_pgm(2, 7, init_point[6]); // Max Voltage |
147 | //write_ascii_string(2, 7, "Max Voltage :"); |
147 | //write_ascii_string(2, 7, "Max Voltage :"); |
148 | write_ndigit_number_s_10th(20, 7, max_voltage, 100, 0); |
148 | write_ndigit_number_s_10th(20, 7, max_voltage, 3, 0); |
Line 149... | Line 149... | ||
149 | 149 | ||
Line 150... | Line 150... | ||
150 | get_eeprom(1); |
150 | get_eeprom(1); |
151 | 151 | ||
Line 222... | Line 222... | ||
222 | if (COSD_FLAGS & COSD_FLAG_STROMVOLT) { |
222 | if (COSD_FLAGS & COSD_FLAG_STROMVOLT) { |
223 | write_ascii_string_pgm(23, 8, ON); |
223 | write_ascii_string_pgm(23, 8, ON); |
224 | } else { |
224 | } else { |
225 | write_ascii_string_pgm(23, 8, OFF); |
225 | write_ascii_string_pgm(23, 8, OFF); |
226 | } |
226 | } |
227 | //write_ndigit_number_u(23, 10, COSD_DISPLAYMODE, 10, 0); |
227 | //write_ndigit_number_u(23, 10, COSD_DISPLAYMODE, 2, 0); |
228 | write_ascii_string_pgm(18, 10, (const char *) (pgm_read_word(&(mode->desc)))); |
228 | write_ascii_string_pgm(18, 10, (const char *) (pgm_read_word(&(mode->desc)))); |
Line 229... | Line 229... | ||
229 | 229 | ||
Line 230... | Line 230... | ||
230 | } |
230 | } |