Hello,
I want to blink a led on a 16F877A but nothing run :/
This is my code:
Code:
'Initialisation des fusibles:
@ DEVICE pic16f877A, HS_OSC, WDT_OFF, LVP_OFF, PROTECT_OFF
define OSC 20
output portc.2
Main:
high portc.2
pause 1000
low portc.2
pause 1000
goto main
end
Nothing really fantastic :/
I've tested with OSC 4 & OSC 8. HS,RC,XT...
On the PIC i can read "16F877A-I/P" not "16F877A-I/P20"

Can you show me a working code to blink a LED on this PIC ?
I'v a 10K pullpup resistor for MCLR connected to +5v, 470ohms for the red 5mm LED, a XTAL 20mhz on PIN 13 & 14, fallowed by 2 capa (22pf) -> GROUND.
I'm speaking bad but i understand good 
@+
Niko
Bookmarks