In my sketch, I have this specified:
#include <stdint.h>
#include <TFTv2.h>
#include <SPI.h>
#include <SD.h>
Then I declare:
PImage logo; // this variable represents the image to be drawn on screen
However, this results in this error:
seeed_tft_touch_shield.ino:15:1: error: ‘PImage’ does not name a type
Error compiling.
I got this from the example ino file.
Can anybody tell me what is going on here?
Thanks
Eric