I want to drive an 40 mA LED on a single I/O-Port:
I've forgot to draw the LED in the right version but i hope you get the idea. So my actual question: Since my PIC 12F isn't able to drive currents above 20 mA I may use the right circuit for supplying that current. But by using voltage/current directly from my source it may also be possible to achive the same with fewer parts - at least i think it is...
So what's my error in reasoning? is it possible to use the left circuit without problems?
Thanks in advance.
EDIT: Additional (maybe dumb) Question - what's wrong about the following:
I could manage to make a second port available...
2nd and Last Edit:
It's possible as mentioned here (german) - since I/O Ports are rare i may try using a FET anyway, thanks for all the answers