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
Diff: Inits/SEPS225.cpp
- Revision:
- 31:ef4225cef157
- Parent:
- 24:1a2ebae1d289
- Child:
- 34:c66986d80f72
--- 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_ */