I have tried the forum search but I couldn't extract any useful information.
I have extracted my analogRead into a class as the main program wasnts button presses not analogue voltages. The .pde and .cpp links OK until I add the analogRead command.
In member function 'int AnalogButton::GetButtons()':
error: 'analogRead' was not declared in this scope
What do I have to #include into the .cpp file ?
I have not posted source as there is a lot :