> The PIC16F877 data sheet says any one pin can source a max of 25 mA. If I > want to drive a blue LED that has a forward current rating of 30 mA, can I > just connect that LED between the pin and ground, without a resistor? No! The data sheet doesn't say that 25mA is the max the pin CAN source, only that it is the max you are allowed to let is source for all the other specs to remain valid. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics