I'm having some issues with my Arduino Resistive Touchscreen.
I've wired everything up correctly, installed the Adafruit touchscreen library and moved it to the correct place, and the screen won't respond to my touches. And when I upload to the Arduino, I get this:
Arduino: 1.8.4 (Mac OS X), Board: "Arduino/Genuino Uno"
Code: Select all
/var/folders/nm/1h6chfm95j9b_cgmf5s8km840000gr/T//cc43FfKX.ltrans1.ltrans.o: In function `__static_initialization_and_destruction_0':
/Users/Zach/Documents/Arduino/breakouttouchpaint/breakouttouchpaint.ino:46: undefined reference to `TouchScreen::TouchScreen(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int)'
/var/folders/nm/1h6chfm95j9b_cgmf5s8km840000gr/T//cc43FfKX.ltrans1.ltrans.o: In function `loop':
/Users/Zach/Documents/Arduino/breakouttouchpaint/breakouttouchpaint.ino:79: undefined reference to `TouchScreen::getPoint()'
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.