comparison code_part1/OSTC_code_asm_part1/menu_custom.asm @ 791:a652b0ff4dcf

NEW: CF74: Battery Timeout [min] - Battery symbol will blink if the OSTC was longer in active mode (since the last _full_ charge) then CF74
author heinrichsweikamp
date Thu, 28 Aug 2014 20:18:49 +0200
parents 91ae251d379f
children c50296c3059e
comparison
equal deleted inserted replaced
790:53425d598585 791:a652b0ff4dcf
147 147
148 movlw d'1' 148 movlw d'1'
149 movwf EEADRH ; bank 1 149 movwf EEADRH ; bank 1
150 movlw d'32' 150 movlw d'32'
151 subwf customfunction_temp1,F 151 subwf customfunction_temp1,F
152 movlw d'63' 152 movlw d'31'
153 cpfsgt customfunction_temp1 153 cpfsgt customfunction_temp1
154 bra getcustom15_3 ; bank 1 154 bra getcustom15_3 ; bank 1
155 155
156 movlw d'2' 156 movlw d'2'
157 movwf EEADRH ; bank 2 157 movwf EEADRH ; bank 2
158 movlw d'64' 158 movlw d'32'
159 subwf customfunction_temp1,F 159 subwf customfunction_temp1,F
160 getcustom15_3: 160 getcustom15_3:
161 movf customfunction_temp1,W 161 movf customfunction_temp1,W
162 mullw d'4' 162 mullw d'4'
163 movf PRODL,W ; x4 for adress 163 movf PRODL,W ; x4 for adress