What if I simply disable the ADC and input buffers after setup() has run? The only time A0 and A5 are used are during the setup(). A0 is being used to read the battery voltage, and A5 is used once to seed random. Once I’m out of the setup() loop, those pins aren’t used again … not till the unit gets restarted again.
So what if, at the very end of the setup(), I do something like this:
// Disable ADC by setting ADEN bit to zero
ADCSRA = ADCSRA & B01111111;
// Disable analog comparator by setting ACD bit to one
ACSR = B10000000;
// Disable digital buffers on ADC0, ADC1, ADC4, ADC5, ADC6, ADC7
DIDR0 = DIDR0 | B11110011;
// (DIDR2 Register)ADC8, ADC9, ADC10, ADC11, ADC12, ADC13 are all used as digital pins