Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/isr.asm @ 21:73014f788032
1.60 stable rc1
author | heinrichsweikamp |
---|---|
date | Wed, 21 Apr 2010 17:37:30 +0200 |
parents | 3b30cd739782 |
children | 65d5b0c8da41 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/isr.asm Wed Apr 21 10:13:36 2010 +0200 +++ b/code_part1/OSTC_code_asm_part1/isr.asm Wed Apr 21 17:37:30 2010 +0200 @@ -69,7 +69,7 @@ btfsc standalone_simulator ; ignore in standalone simulator mode bra uartint1 - call set_LEDusb + bsf LED_blue tstfsz RCREG ; =0x00? bra simulator_int1 ; No incf RCREG,F ; Yes, so force RCREG=1 @@ -159,8 +159,7 @@ bcf PIR1,TMR1IF ; Clear flag timer1int_debug: - - call clear_LEDr ; LEDr off (For charge indicator) + bcf LED_red ; LEDr off (For charge indicator) movlw 0x08 ; Timer1 int after 62.5ms (=16/second) cpfslt TMR1H ; Did we miss a 1/16 second? @@ -354,8 +353,8 @@ return clrf hours incf day,F -movlw plus_time_correction ; Correct too slow clock -movwf secs + movlw plus_time_correction ; Correct too slow clock + movwf secs check_date: