Library to control a Graphics TFT connected to 4-wire SPI - revised for the Raio RA8875 Display Controller.
Dependents: FRDM_RA8875_mPaint RA8875_Demo RA8875_KeyPadDemo SignalGenerator ... more
Fork of SPI_TFT by
See Components - RA8875 Based Display
Enhanced touch-screen support - where it previous supported both the Resistive Touch and Capacitive Touch based on the FT5206 Touch Controller, now it also has support for the GSL1680 Touch Controller.
Offline Help Manual (Windows chm)
/media/uploads/WiredHome/ra8875.zip.bin (download, rename to .zip and unzip)
Diff: RA8875.h
- Revision:
- 102:fc60bfa0199f
- Parent:
- 101:e0aad446094a
- Child:
- 103:7e0464ca6c5c
--- a/RA8875.h Sun Jan 17 22:16:37 2016 +0000 +++ b/RA8875.h Sat Jan 23 16:58:54 2016 +0000 @@ -1911,11 +1911,11 @@ /// BMP file to be created is passed to this callback. /// /// @param object is the class hosting the callback function. - /// @param callback is the callback function. + /// @param method is the callback method in the object to activate. /// template <class T> - void AttachPrintHandler(T *object, RetCode_t (T::*member)(void)) { - obj_callback = (FPointerDummy *)item; + void AttachPrintHandler(T *object, RetCode_t (T::*method)(void)) { + obj_callback = (FPointerDummy *)object; method_callback = (uint32_t (FPointerDummy::*)(uint32_t))method; }