One more thing - I don't think this is a switch bounce issue. If I simply hold down the pushbutton for a good second my LED will come on. I think the PIC is counting the amount of time the switch is closed, rather than the transisitons from low to high.
Bookmarks