I'm trying to convert a class header file from another c++ project to arduino, which in my mind involves replacing cout with Serial.println.
When I try to recomplile with all of these changes, I get this error from the compiler:
error: 'Serial' was not declared in this scope
Serial.print(p[i]);
Can someone explain this to me?