I expected this program to run forever, but about 3 seconds after applying power, the clock starts and runs for 2 seconds, then stops. When I remove power, the clock starts again and runs until it is out of voltage. Am I doing something wrong, or are these devices just freaky?
Device = 12f675
xtal =4
ALL_DIGITAL = TRUE
TRISIO = %000000
LOW PORTB.1
LOW PORTB.5
low portb.2
loop:
high portb.2
low portb.2
goto loop
end
Device = 12f675
xtal =4
ALL_DIGITAL = TRUE
TRISIO = %000000
LOW PORTB.1
LOW PORTB.5
low portb.2
loop:
high portb.2
low portb.2
goto loop
end