comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 285:8874b6cd8f36

small fix for the battery sign
author heinrichsweikamp
date Wed, 20 Apr 2011 06:54:33 +0200
parents 4ec488f046f4
children 5351d47ee28a
comparison
equal deleted inserted replaced
284:908d0013727e 285:8874b6cd8f36
1854 1854
1855 update_batt_voltage3: 1855 update_batt_voltage3:
1856 GETCUSTOM8 d'34' ; Color battery 1856 GETCUSTOM8 d'34' ; Color battery
1857 btfsc cc_active 1857 btfsc cc_active
1858 movlw color_yellow ; CC active 1858 movlw color_yellow ; CC active
1859 btfsc cv_active 1859 btfsc charge_done
1860 movlw color_green ; CV active 1860 movlw color_green ; Charge done.
1861 call PLED_set_color 1861 call PLED_set_color
1862 1862
1863 movlw .175 1863 movlw .177
1864 movff WREG,win_top ; row top (0-239) 1864 movff WREG,win_top ; row top (0-239)
1865 movlw .192-.175 1865 movlw .192-.177
1866 movff WREG,win_height ; row bottom (0-239) 1866 movff WREG,win_height ; row bottom (0-239)
1867 movlw .2 1867 movlw .2
1868 movff WREG,win_leftx2 ; column left (0-159) 1868 movff WREG,win_leftx2 ; column left (0-159)
1869 movff wait_temp,win_width ; column right (0-159) 1869 movff wait_temp,win_width ; column right (0-159)
1870 call PLED_box 1870 call PLED_box