So I got about 50 of these errors when I tried to compiled my code. It seems to only occur in lines where I reference an analogRead function, eg AccelAngle=analogRead(accelerometer);
Ive attached my entire code, if it helps. A full example of the problem is as follows:
The lines with VoltL and VoltR are getting the error I mentioned. Ive no idea how to rectify this. The code is for a 3pi Pololu robot, that carries out 3 basic tasks, for context
Any help, recommendations would be greatly appreciated!
FINAL.ino (4.87 KB)