L
lerameur
- Jan 1, 1970
- 0
HI
I am trying to make a led blink.
I am using picbasic compiler. I get the program to work and the circuit
to work, But it only blinks for a short amount of time, about 20 to 30
seconds. Even if I disconnect the power and replug it do not start
again.
The circuit is supplied with 5v
If I disconnect the power for at least 10 min and then reconnect, then
it will start again for about 20 sec.
Also, I download a program done in hex from :
http://www.voti.nl/blink/index_1.html#16F88
and it works fine
here is the code i use: which if found on google on many web sites
using pic chip 16F88
loop: High 0 ' Turn on LED connected to PORTB.0
Pause 500 ' Delay for .5 seconds
Low 0 ' Turn off LED connected to PORTB.0
Pause 500 ' Delay for .5 seconds
Goto loop ' Go back to loop and blink LED forever
End
ken
I am trying to make a led blink.
I am using picbasic compiler. I get the program to work and the circuit
to work, But it only blinks for a short amount of time, about 20 to 30
seconds. Even if I disconnect the power and replug it do not start
again.
The circuit is supplied with 5v
If I disconnect the power for at least 10 min and then reconnect, then
it will start again for about 20 sec.
Also, I download a program done in hex from :
http://www.voti.nl/blink/index_1.html#16F88
and it works fine
here is the code i use: which if found on google on many web sites
using pic chip 16F88
loop: High 0 ' Turn on LED connected to PORTB.0
Pause 500 ' Delay for .5 seconds
Low 0 ' Turn off LED connected to PORTB.0
Pause 500 ' Delay for .5 seconds
Goto loop ' Go back to loop and blink LED forever
End
ken