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
UniGraphic for La Suno Version.
To go with La Suno, WatchDog Reset functions were added in ILI9341.
Diff: Inits/SSD1306.cpp
- Revision:
- 15:b9483ba842c8
- Parent:
- 13:d8c593fa7705
- Child:
- 17:1dafb896c6f5
--- a/Inits/SSD1306.cpp Sun Feb 22 18:55:54 2015 +0000 +++ b/Inits/SSD1306.cpp Mon Feb 23 16:05:16 2015 +0000 @@ -132,5 +132,5 @@ { contrast = o; - wr_cmd16(0x8100|(o)); + wr_cmd16(0x8100|(o&0xFF)); }