I've gotten some good advice so far about tieing unused pins to ground. I have another question concerning that and would appreciate the advice. If I enable the pullups on port b so I can use some of those, not all, pins as switches what do others normally do with those unused pins? Do you do the same and tie those to ground with a 10k resistor or do you leave those float considering the internal pullups are enabled?
Thanks
David