Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/start.asm @ 578:fbd5e2b75a63
adding access to CF64-CF95
author | heinrichsweikamp |
---|---|
date | Tue, 24 Apr 2012 08:39:43 +0200 |
parents | ab2686087bce |
children | cda5b45b953f |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm Sun Apr 22 21:32:04 2012 +0200 +++ b/code_part1/OSTC_code_asm_part1/start.asm Tue Apr 24 08:39:43 2012 +0200 @@ -152,9 +152,9 @@ ; After update resets ; Reset brightness to ECO - movlw LOW 0x104 + movlw LOW 0x103 movwf EEADR - movlw HIGH 0x104 + movlw HIGH 0x103 movwf EEADRH ; OLED brightness (=0: Eco, =1: High) movlw .0 movwf EEDATA @@ -271,9 +271,9 @@ call logbook_convert_64k ; No, convert now (And write 0xAA to internal EEPROM 0x100) ; Set OLED brightness flag - movlw LOW 0x104 + movlw LOW 0x103 movwf EEADR - movlw HIGH 0x104 + movlw HIGH 0x103 movwf EEADRH ; OLED brightness (=0: Eco, =1: High) call read_eeprom ; read byte bcf oled_brightness_high ; Eco mode