Microchip have written an application note that you can look into. AN606 Low Power Design Using PIC16/17 http://www.microchip.com/1010/suppdoc/appnote/category/listing/index5.htm= #93 It says: =95 All unused I/O pins should be configured as outputs and set high or low. This ensures that switching currents will not occur due to a floating input. Regards Niklas -----Ursprungligt meddelande----- Fr=E5n: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.ED= U] F=F6r WEBB,TIM (A-Sonoma,ex1) Skickat: den 16 januari 2002 17:49 Till: PICLIST@MITVMA.MIT.EDU =C4mne: [PIC]:What is the correct way to terminate unused pins 16F877 I will have several unused pins on my 16F877 Should the unused pins be set as inputs or outputs and should they be tie= d directly to GND or do I use a resistor. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu