tengo el problema con el tmr0 que se desborda tan rapidamente que solo se ve un destello en el led, quiero que dos leds destellen, uno con el tmr0 y el otro con una rutina de tiempo
el progama es el siguiente.
org h'00´
goto inicio
retfie
org 'h04'
inicio
movlw h'1f'
bsf status,5
movwf trisa
movlw h'00'
movwf trisb
bcf status,5
star
bsf portb,7 ;enciende led 1
bsf status,5
bsf option_reg,0
bsf option_reg,1
bsf option_reg,2
bcf option_reg,3
bcf option_reg,5
movlw h'ff'
movwf tmr0
latch
btfss intcon,2
goto latch
bcf portb,7 ;apago led1
goto led
time
movlw h'ff'
movwf contador
dec1
movlw h'ff'
movwf contador1
dec
decfsz contador1
goto dec
decfsz contador
goto dec1
return
led
bsf portb,0
call time
bcf portb,0
call time
goto star
end