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.
Revision 34:67b3634507da, committed 2022-01-07
- Comitter:
- dswood
- Date:
- Fri Jan 07 12:05:27 2022 +0000
- Parent:
- 33:f87f06292637
- Commit message:
- The libraries used would not output %. I tried escaping it but nothing worked. So I changed the & in the font and used that. Not cleaver I know. I don't recommend this to anyone.
Changed in this revision
Font/Terminal6x8.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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 )