Guys please help me with this question coz all the interviewers ask this to amature programmers. I have done my Embedded Systems course recently but wasnt able sort to this question. Thanks and reply soon.
Here's a problem with your request. The answer is different based on the driving port voltage. Furthermore, it may be different for different LEDs. And, it will certainly be different depending on the current driving capacity of the port pin and the current requirements of the LED. Anyway, here a hint. V = I * R Jon
For those seeking the shirt, the URL is: http://www.computergear.com/virtshirt.html Jon
I like this one: http://www.computergear.com/rtfmtshirt.html