Code wrote... >It's now dead. I'm sorry to hear that. That's sad. >Before it died, the code ran as expected, albeit with the PIC running very >hot. Power Supply is of the correct polarity, 200Ohm resistor between MCLR >and VCC. What's the power supply voltage? It should be 5.0 volts, approximately; if it's more than 6 volts, you've got troubles. >I disconnected every I/O port and it was still running hot, the case of >sinking or sourcing too much current can be disregarded. > >What could be the caused? The possibilities are very limited: 1. Vcc is too high; 2. Vcc and ground are reversed; 3. Vcc is AC, not DC; 4. Something else is sourcing current into the PIC, causing latchup; 5. PIC plugged in wrong; 6. PIC wired wrong; 7. Pin numbers on PIC misinterpreted; or 8. PIC was dead to begin with. That's just about the entire universe of possible causes. Maybe I could think of more if I had more coffee in me, but I think that's it. It must be one of the above. In any case, PICs simply do not run hot unless there is something horribly, terribly wrong. And in most cases, they don't even run slightly warm. Dave -- 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