English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I can't figure this out. I am using a Pic 16F627A chip. PORTB is connected to 8 leds in series with a 120ohm resistor. The red end of my 3 v power supply is hooked to pin 14, the black end to pin 5. The short end of the leds are connected to pin 5.

My code is posted here: http://forum.microchip.com/tm.aspx?m=270363

It does absolutly nothing. Please help me!

PS according to the MPSIM software, this works correctly, it loops around and should output stuff in the leds.

2007-07-23 16:02:01 · 1 answers · asked by Tyler H 3 in Computers & Internet Hardware Other - Hardware

1 answers

Got a multimeter? Touch EACH of the leads and make sure there's voltage to everything there's supposed to be.

Disconnect the PORTB from LEDs and just test it with multimeter when you run the code, and see if the voltage go up and down.

it also depends on which LEDs you got. Maybe you got some that need too much current or voltage?

(Not a PIC programmer, but I *do* have a EE/CS/CE degree)

2007-07-23 16:08:47 · answer #1 · answered by Kasey C 7 · 0 0

fedest.com, questions and answers