I am trying to program an adafruit pygamer (which says it's compatible with Arduino). I have added the ZIP folder for the library into the library folder om my PC where all of my folders are supposed to be stored, one thing I managed to find out for a start was that the library folder for the library itself that was installed from GitHub contained a dash in the filename so I replaced that for an underscore. The actual error message that seems to come up now is this:
'Adafruit_Arcada' does not name a type; did you mean 'Adafruit_SPITFT'?
This error comes up from when I try to use the:
#include "Adafruit_Arcada.h" Adafruit_Arcada arcada;
Within the library folder that I want to try and use there are the code examples within the library folder inside the examples sub-folder
I have tried following a step by step guide into one potential way of trying to solve this problem by looking at a tutorial by adafruit on how to step by step install zip folder libraries. Something tells me though that this error that I am getting is to do with one of the .h or .cpp files within the library itself.
The link for the library itself is here: https://github.com/adafruit/Adafruit_Arcada
In addition, when I look in the
Adafruit_Arcada.h file I can actually see that there is no
Adafruit_Arcada class but there is an
Adafruit_SPITFT one. I know this point might seem like a bit of a no-brainer but I just thought it would be useful to try and find out what could potentially be going on and provide evidence of what I have already tried to do.
When I changed the
Adafruit_Arcada arcada; to
Adafruit_SPITFT arcada; (thinking this could potentially resolve the issue because within the
Adafruit_Arcada.h file there is a class called
Adafruit_SPITFT and notAdafruit_Arcada`), this brought up another error which was the following:
simpletest:2:17: error: no matching function for call to 'Adafruit_SPITFT::Adafruit_SPITFT()'