pin 4= POSITIVE with 47k resistor
pin 5= NEGATIVE
PIN 6 AND 7= LEDs with 470 ohm resistors(and yes, the polarity is correct)
pin 14 =positive
pin 15 and 16 =crystal with two 22 pf caps attached to ground
I have never seen a 47K resistor on reset pin! Tray a 10K
Pin 5 negative? , surely you mean ground !
crystal with two 22 pf caps attached to ground (4 MHz?)
In your program modify pause to 5000, then with a DVM measure port pins. If you see both pins turning on & off then you have a bad ground or a bad resistor or a bad led connected to the led that doesn't work. On the other hand if you don't see the +5 volts ont both pins than you have a bad pic.
Appart from that I don't see reason for your leds not blinking.
Al.
Last edited by aratti; - 30th November 2008 at 06:28.
All progress began with an idea
Bookmarks