Normally I tend to have a resistor inline when testing with a PIC but when I get lazy I just shove in any ol' LED without the resistor. I believe that most of the pics can source 20 - 25mA but do the i/o lines have a current limiting resistor?
Normally I tend to have a resistor inline when testing with a PIC but when I get lazy I just shove in any ol' LED without the resistor. I believe that most of the pics can source 20 - 25mA but do the i/o lines have a current limiting resistor?
Normally I tend to have a resistor inline when testing with a PIC but when I get lazy I just shove in any ol' LED without the resistor. I believe that most of the pics can source 20 - 25mA but do the i/o lines have a current limiting resistor?
from how I understand it, there is no current limiting resistor, but the current limitation comes from the Rds(on) of the PIC's internal transistors
if you look at the block diagram for an IO port, you can see there is a P channel fet on the high side and an N channel fet on the low side of the output.
so at a given voltage, this internal resistance limits current to the range specified on the datasheet ... also note in the datasheet, their ratings on power dissipation and total sink/source current.
I agree with Nigel, it is probably not a good idea - but then again, if you stay inside the parameters set by the datasheet, perhaps it is allowable?