Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I remember in my early days of PIC programming, I had a setup which behaved very erratically.not address those pins in code at all.
Or you can just leave them as is and not address those pins in code at all. Easier to write 0's to those pins and configure them as outputs. No additional components necessary.
The only time I've had an issue is with older PIC16's that use a dedicated LVP select pin (16F88x comes to mind). If you dont tie this pin low and leave LVP enabled in the configuration word, it will float in and out of programming mode. Disabling LVP on these pics stopped that.
The newer PICs don't have a dedicated LVP pin and use MCLR just like HVP so its a non issue on the newer parts.
I think most of the newer PIC18F parts have weak internal pull ups on every port that can be enabled as well. This option would probably offer the least current consumption.
Exactly, my number of spare pins is normally in negative territory.You should never have any spare pins on a PIC - you can always find an extra function to use them for