Hi
I was hoping someone can help me with this.
I want to start using pics but I can't even get my blink circuit to work.
I have PIC basic pro
and I use micro code studio.
My programmer is from ebay
I have knowledge in electronics but little knowledge in Micro controllers.
So I have done my board over and over again and nothing no led blinking
I have tried this
@ DEVICE pic16F84, XT_OSC
@ DEVICE pic16F84, WDT_OFF
' Watchdog Timer
@ DEVICE PIC16F84, PWRT_ON
' Power-On Timer
DEFINE OSC 4
TrisB = %00000000 ' Sets all bits portb as outputs
loop:
High PORTB.0 ' Turn on LED connected to PORTB.0
Pause 1500 ' Delay for 1.5 seconds
Low PORTB.0 ' Turn off LED connected to PORTB.0
Pause 1500 ' Delay for 1.5 seconds
Goto loop ' Go back to loop and blink LED forever
End
and this
' Example program to blink an LED connected to PORTB.0 about
' once a second
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
and nothing
I have re done my circuit over and over again and nothing
On my bread board I didn't use any filters on the 78L05
would that really matter and not make it blink?
Ps: the pictures of my programmer software and settings they are on are in the attachments
Bookmarks