Re: Pic driven LED's



On a sunny day (Sat, 19 Jan 2008 08:44:11 -0800 (PST)) it happened
aurbo@xxxxxxxxxxx wrote in
<b87e4d3b-66ae-41ad-b177-01d2dccca29b@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>:

Using a PIC, in my case a Pic18F4620

What do I need to drive the RA0-RA7 outputs to ignite 7 x 2.2v LED's
on each output?

Aurbo

I dunno if that pic has pullup on that port.
But if it has, config the port as input, and
switch the pullups on and off.
LED between output and ground.

That gives about 200uA nominal, enough for high efficiency LEDs.

Else use resistors and go for .5 mA or so.
.



Relevant Pages

  • Re: Modeling pullup on the input
    ... > using any internal signal like the verilog-HDL pullup. ... The module is written below(didn't include the port delays and path ... Is there a way to show the pullup on "pad" ...
    (comp.lang.vhdl)
  • Re: How to handle floating inputs in a device?
    ... If I have a port 'xyz' defined as a std_logic input (its physical pin ... how can I assign a pullup 'H' or a pulldown 'L' to ...
    (comp.lang.vhdl)