So I am only a moderate Arduino user and just started using the Mega for the first time.
I am trying to utilize the Analog pins from A0 - A10, and I get these error messages:
"error: 'A8' was not declared in this scope" "error: 'A9' was not declared in this scope" "error: 'A10' was not declared in this scope"
(I do know that A0-A7 are the standard Analog Pins while A8-A15 are extra which come with the Mega, but I don't know why there is a problem).
I have them listed in the code as:
int sensorPin8 = A8; // select the input pin for Row 7 Detector int sensorPin9 = A9; // select the input pin for Row 8 Detector int sensorPin10 = A10; // select the input pin for Rotation Detector
I am note sure if there is something I need to download to utilize the mega, or if there was a driver that was supposed to be installed (my computer didn't recognize anything), or if I am just ignorant of what I am supposed to be doing.
I haven't found anything answering this so far, though I have seen that people with past versions of the Mega and arduino which had the same problems, but I didn't know how to apply their troubleshooting with my versions.
If someone could point me in the right direction for getting these working I would appreciate it! Thanks!