Rev 835 | Rev 902 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 835 | Rev 837 | ||
---|---|---|---|
Line 82... | Line 82... | ||
82 | 82 | ||
83 | // battery voltages |
83 | // battery voltages |
84 | uint8_t min_voltage = 0; |
84 | uint8_t min_voltage = 0; |
Line -... | Line 85... | ||
- | 85 | uint8_t max_voltage = 0; |
|
- | 86 | ||
- | 87 | uint8_t scope[8] = { |
|
- | 88 | 5, 5, |
|
- | 89 | 25, 5, |
|
- | 90 | 5, 10, |
|
- | 91 | 25, 10 |
|
85 | uint8_t max_voltage = 0; |
92 | }; |
86 | 93 | ||
Line 257... | Line 264... | ||
257 | _delay_ms(1000); |
264 | _delay_ms(1000); |
258 | LED4_OFF |
265 | LED4_OFF |
Line 259... | Line 266... | ||
259 | 266 | ||
260 | //Pushing NEW chars to the MAX7456 |
267 | //Pushing NEW chars to the MAX7456 |
261 | #if (WRITECHARS != -1) |
268 | #if (WRITECHARS != -1) |
262 | // DISABLE display (VM0) |
269 | // DISABLE display (VM0) |
263 | spi_send_byte(0x00, 0b00000000); |
270 | spi_send_byte(0x00, 0b00000000); |
264 | learn_all_chars_pgm(); |
271 | learn_all_chars_pgm(); |
265 | #else |
272 | #else |
266 | // read out config for NTSC/PAL distinguishing |
273 | // read out config for NTSC/PAL distinguishing |
267 | get_eeprom(0); |
274 | get_eeprom(0); |