# HG changeset patch # User heinrichsweikamp # Date 1367826558 -7200 # Node ID 71bb907d0ce5b74d0f31d05da29f7b76d2ffb748 # Parent 2129862bbfe6d48efbcc73c95bebf2249acda536 brightness settings for display1 diff -r 2129862bbfe6 -r 71bb907d0ce5 code_part1/OSTC_code_asm_part1/display_lowlevel.asm --- a/code_part1/OSTC_code_asm_part1/display_lowlevel.asm Wed Apr 17 19:52:08 2013 +0200 +++ b/code_part1/OSTC_code_asm_part1/display_lowlevel.asm Mon May 06 09:49:18 2013 +0200 @@ -1031,6 +1031,7 @@ bra DISP_brightness_full_high ; Mid bsf PORTB,7 + nop bcf PORTB,6 movff win_flags,WREG ; Display1? win_flags is in bank0... @@ -1049,6 +1050,7 @@ DISP_brightness_full_high: ; Full bsf PORTB,7 + nop bsf PORTB,6 movff win_flags,WREG ; Display1? win_flags is in bank0... @@ -1067,6 +1069,7 @@ DISP_brightness_low: ;Low bcf PORTB,7 + nop bcf PORTB,6 movff win_flags,WREG ; Display1? win_flags is in bank0... btfsc WREG,1 ; Display1?