Sorry to go over old ground but I would appreciate some clarification. Various threads on this forum advise that all unused PIC pins should be configured as inputs and tied to ground to improve immunity to noise. However, can these pins be connected directly to ground or should it be via a (100K ?) resistor on each (unused) pin?