I already sent my design off to the fab house and realized that I made an error in the design. I have one pin driving an LED and reading a button. But I didn't add a resistor on the button side. Here's what the schematic looks like:
PB#--------Switch-------GND | ----LED--Resistor--GND
I should have put a resistor on the button leg of that circuit. Am I going to burn out the I/O pin if I'm polling the switch every 10ms?
This LED is not integral to the design. In fact, I added it at the last minute to help when writing code for the device. But just want to get another opinion on whether this is salvageable in code or not. Thanks!