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: testUniGraphic_150217 maze_TFT_MMA8451Q TFT_test_frdm-kl25z TFT_test_NUCLEO-F411RE ... more
Revision 31:ef4225cef157, committed 2016-04-01
- Comitter:
- Rhyme
- Date:
- Fri Apr 01 06:00:02 2016 +0000
- Parent:
- 30:87855d03d91a
- Child:
- 32:9cd6227dc7a6
- Commit message:
- The width and height of SEPS225 are 0x80, but I mistook it to 0x7F in the first version and have fixed them in later version, but in the newest version we had the return of 0x7F, so I try to fix them to 0x80 again.
Changed in this revision
| Inits/SEPS225.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Inits/SEPS225.cpp Sun Nov 29 19:58:47 2015 +0000 +++ b/Inits/SEPS225.cpp Fri Apr 01 06:00:02 2016 +0000 @@ -75,8 +75,8 @@ #define COLOR_BLACK 0x0000 #define COLOR_WHITE 0xFFFF -#define OLED_WIDTH 0x7F -#define OLED_HEIGHT 0x7F +#define OLED_WIDTH 0x80 +#define OLED_HEIGHT 0x80 #endif /* OLED_LCD_REG_H_ */
GraphicsDisplay