Basically i glued Peter Drescher and Simon Ford libs in a GraphicsDisplay class, then derived TFT or LCD class (which inherits Protocols class), then the most derived ones (Inits), which are per-display and are the only part needed to be adapted to diff hw.
Fork of UniGraphic by
Diff: Display/TFT.cpp
- Revision:
- 15:b9483ba842c8
- Parent:
- 11:b842b8e332cb
- Child:
- 20:14daa48ffd4c
diff -r 29bab588ba75 -r b9483ba842c8 Display/TFT.cpp --- a/Display/TFT.cpp Sun Feb 22 18:55:54 2015 +0000 +++ b/Display/TFT.cpp Mon Feb 23 16:05:16 2015 +0000 @@ -18,7 +18,7 @@ #include "TFT.h" -#include "mbed_debug.h" +//#include "mbed_debug.h" #define SWAP(a, b) { a ^= b; b ^= a; a ^= b; }