chiark / gitweb /
no significant change
authorceb <ceb>
Sun, 31 Oct 2004 23:07:17 +0000 (23:07 +0000)
committerceb <ceb>
Sun, 31 Oct 2004 23:07:17 +0000 (23:07 +0000)
 accidentally touched whilst editing send-serial.asm

cebpic/led-flash.asm

index ac85f3d466c40caaecb771713b6c44f54943340b..f7a977b93c9a81c6b5381dcfe06f7a87b9c97bf8 100644 (file)
@@ -7,12 +7,12 @@ start
 ; pin initial config
        bcf     TRISE,4,0       ; turn off PSPMODE (Data Sheet p100/101)
 ; timer initial config
-       bcf     T0CON,0,0       ; p107 Timer0 -> 16bit mode     
+       bcf     T0CON,6,0       ; p107 Timer0 -> 16bit mode     
        bcf     T0CON,5,0       ; timer0 use internal clock
        bcf     T0CON,3,0       ; use prescaler
        bsf     T0CON,2,0       ; }     
-       bsf     T0CON,1,0       ; } prescale value 1:256
-       bsf     T0CON,0,0       ; }
+       bcf     T0CON,1,0       ; } prescale value 1:32 (13ms x 32)
+       bcf     T0CON,0,0       ; }
 ; actually do stuff
        call    green
        call    waiting