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.
Diff: Display/TFT932x.h
- Revision:
- 30:87855d03d91a
- Parent:
- 27:acb2594b8aa4
--- a/Display/TFT932x.h Sat Nov 28 18:37:19 2015 +0000 +++ b/Display/TFT932x.h Sun Nov 29 19:58:47 2015 +0000 @@ -249,6 +249,7 @@ virtual void identify(); unsigned int scrollbugfix; + unsigned char flipped;