I'm trying to write a program to read analog input on pins A0-A8. The code works just fine for A0-A7 but outputs an error for the remaining pins. I've seen people discuss AdvancedADC but they mention no support for A8-A11. Any idea what could be the issue here as well as any solution?
Error below:
error: call to 'PureAnalogPin::operator int' declared with attribute error: Change me to a #define
const int THERM_PIN = A8;
^~
exit status 1
Compilation error: call to 'PureAnalogPin::operator int' declared with attribute error: Change me to a #define