Home Forums Programming Compilation error: 'A9' was not declared in this scope Reply To: Compilation error: 'A9' was not declared in this scope

#5737

dhrupal93
Keymaster

Actually you have selected wrong Board as “Arduino/Genuino Uno” in place of  “Arduino/Genuino Mega or Mega 2560”.

arduino uno

Please select the correct board as shown in following image

evive select mega

Arduino Uno has only 6 Analog to Digital (ADC) channels A0 to A5, but evive has 10 ADC Pins A0-A6 and A12 to A15.