diff src/ostc3.asm @ 28:fcaf94b913db

rx isr
author heinrichsweikamp
date Sat, 20 Jul 2013 16:02:35 +0200
parents e4e662746c02
children ec4d8503ec45
line wrap: on
line diff
--- a/src/ostc3.asm	Wed Jul 17 13:22:51 2013 +0200
+++ b/src/ostc3.asm	Sat Jul 20 16:02:35 2013 +0200
@@ -108,8 +108,8 @@
 
 
 ; Timer 0
-;	movlw	b'00000000'				; Timer0 with 1:2 prescaler
-	movlw	b'00001000'				; Timer0 with 1:1 prescaler
+	movlw	b'00000001'				; Timer0 with 1:4 prescaler
+;	movlw	b'00001000'				; Timer0 with 1:1 prescaler
 	movwf	T0CON
 
 ; Timer 1 - Button hold-down timer
@@ -234,9 +234,9 @@
 ; Interrupts
 	movlw	b'11110000'
 	movwf	INTCON
-	movlw	b'10000000'			; BIT7=1: Pullup for PORTB disabled
+	movlw	b'10001000'			; BIT7=1: Pullup for PORTB disabled
 	movwf	INTCON2
-	movlw	b'00001000'			
+	movlw	b'00101000'			; Bit5: INT3
 	movwf	INTCON3
 	movlw	b'00000001'			; Bit0: TMR1
 	movwf	PIE1