Re: Drive an LED direct from a PIC IO pin (ie no current limiting resistor)
You get the idea.
Look Melanie Dice example, or do it simple, plug your LED directly to the PIC and have a PWM running out of your PIC, use a MOSFET to drive the common GND or VDD of your LED (whatever floats your boat).
You now have a variable intensity, using a minimum of parts... BUT, the more the battery get flatten, the less intensity you'll also have (assuming you don't use anything to monitor it... and if so... you end up with more extra hardware than a simple LDO regulator)
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks