diff code_part1/OSTC_code_asm_part1/menu.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/menu.asm	Sun Apr 22 21:32:04 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu.asm	Tue Apr 24 08:39:43 2012 +0200
@@ -431,9 +431,9 @@
 	return
 
 toggle_brightness:
-	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
@@ -449,9 +449,9 @@
 	call	PLED_brightness_full	; Set OLED
 
 	; ...and write it again to EEPROM
-	movlw	LOW		0x104
+	movlw	LOW		0x103
 	movwf	EEADR
-	movlw	HIGH 	0x104
+	movlw	HIGH 	0x103
 	movwf	EEADRH					; OLED brightness (=0: Eco, =1: High)
 	movlw	.0
 	btfsc	oled_brightness_high