I have this defined in my main library:
UTFT myGLCD(ITDB32S, 38,39,40,41);
How do I access myGLCD from my Comms library (a Library that I wrote and is contained in my sketch folder);
Any help is much appreciated!
Loren
I have this defined in my main library:
UTFT myGLCD(ITDB32S, 38,39,40,41);
How do I access myGLCD from my Comms library (a Library that I wrote and is contained in my sketch folder);
Any help is much appreciated!
Loren
Define a begin method for comm class. The begin will take a TFT * argument among other arguments. Set up your tft object outside seyup($ and loop(), then in setup() call comm.begin(&myGLCD, ...)