LED A4 does not light?

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
FLJ
Posts: 4
Joined: Wed Feb 01, 2012 3:47 am
Has thanked: 5 times
Contact:

LED A4 does not light?

Post by FLJ »

Hello,
I am new at Flowcode. I bought the PIC developpement board #3. I am able to programmed all the examples and I am able to test different PIC micro. I can simulate to turn ON each LED on port A and display any messages on the LCD display. The LED A4 never light up and the signal is always low on a scope.
The simulation shows that A4 should light up. Is there something that I don't do right?

Thank you for your help.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: LED A4 does not light?

Post by STibor »

Hi!
The RA4 is generally open-drain output.
The LEDs and a resistor in the VDD-to RA4.

FLJ
Posts: 4
Joined: Wed Feb 01, 2012 3:47 am
Has thanked: 5 times
Contact:

Re: LED A4 does not light?

Post by FLJ »

Thank you.
...and what should I do? Do I have to add a pull up on the developpement bord?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: LED A4 does not light?

Post by Benj »

Hello,

If your using the HP488 Dev board then you can add the pull up resistor (4.7K or 10K) between +V and RA4 using the screw terminals on the side of the Dev board.

Post Reply