It's been a little while since I've used C++
I think this is a somewhat basic error.
I'm following through the tutorial for a graphic lcd.
http://www.sparkfun.com/tutorials/300
The main file checks out ok, minus the .h file it won't recognize.
The first line: #include "PCD8544.h"
So then we head over to that .h file.
Lots of defines, then we get down to line 52ish, which is where I get the issue.
And the code:
None of the other .h or .cpp files give me errors.
Any ideas?
I think this is a somewhat basic error.
I'm following through the tutorial for a graphic lcd.
http://www.sparkfun.com/tutorials/300
The main file checks out ok, minus the .h file it won't recognize.
The first line: #include "PCD8544.h"
So then we head over to that .h file.
Lots of defines, then we get down to line 52ish, which is where I get the issue.
PCD8544.h:52:28: error: expected class-name before ‘{’ token
class PCD8544 : public GFX {
Any ideas?
Comment