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: Font/Terminal6x8.h
- Revision:
- 34:67b3634507da
- Parent:
- 26:09c1d5110134
--- a/Font/Terminal6x8.h Mon Feb 06 12:29:33 2017 +0000
+++ b/Font/Terminal6x8.h Fri Jan 07 12:05:27 2022 +0000
@@ -16,8 +16,8 @@
0x06, 0x00, 0x07, 0x03, 0x00, 0x07, 0x03, // Code for char "
0x06, 0x00, 0x24, 0x7E, 0x24, 0x7E, 0x24, // Code for char #
0x05, 0x00, 0x24, 0x2B, 0x6A, 0x12, 0x00, // Code for char $
- 0x06, 0x00, 0x63, 0x13, 0x08, 0x64, 0x63, // Code for char %
- 0x06, 0x00, 0x36, 0x49, 0x56, 0x20, 0x50, // Code for char &
+ 0x06, 0x00, 0x63, 0x13, 0x08, 0x64, 0x63, // Code for char %
+ 0x06, 0x00, 0x63, 0x13, 0x08, 0x64, 0x63, // Code for char & //my display will not display a % so I have copied it symbol here
0x04, 0x00, 0x00, 0x07, 0x03, 0x00, 0x00, // Code for char '
0x04, 0x00, 0x00, 0x3E, 0x41, 0x00, 0x00, // Code for char (
0x04, 0x00, 0x00, 0x41, 0x3E, 0x00, 0x00, // Code for char )