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.

Dependents:   afero_poc15_180216 afero_poc15_180223 afero_poc15_180302 afero_poc15_180403R ... more

Fork of UniGraphic by GraphicsDisplay

UniGraphic for La Suno Version.
To go with La Suno, WatchDog Reset functions were added in ILI9341.

Revision:
4:12ba0ecc2c1f
Parent:
0:75ec1b3cde17
--- a/Graphics/TextDisplay.h	Sat Feb 14 17:42:21 2015 +0000
+++ b/Graphics/TextDisplay.h	Sun Feb 15 20:06:07 2015 +0000
@@ -98,8 +98,8 @@
     int _row;
 
     // colours
-    uint16_t _foreground;
-    uint16_t _background;
+    volatile uint16_t _foreground;
+    volatile uint16_t _background;
     char *_path;
 };