Driver Library with inverted screen and increased SPI speed (16MHz). You need to use this library with the sx1280
Dependents: MSNV2-Terminal_V1-6 SX1280DevKit SX126xDevKit SX126xDevKit ... more
Fork of DmTftLibrary by
Diff: DmTftBase.h
- Revision:
- 11:264e19992620
- Parent:
- 2:59be7fca4581
- Child:
- 16:b1105e84eda9
diff -r d263094e666d -r 264e19992620 DmTftBase.h --- a/DmTftBase.h Wed Jul 09 08:31:34 2014 +0000 +++ b/DmTftBase.h Wed Jan 21 13:56:51 2015 +0000 @@ -39,6 +39,8 @@ uint16_t width() { return _width; } uint16_t height() { return _height; } + void setWidth(uint16_t width) { _width = width; } + void setHeight(uint16_t height) { _height = height; } void setTextColor(uint16_t background, uint16_t foreground) { _bgColor = background; _fgColor = foreground; } @@ -83,15 +85,10 @@ #endif private: - const uint16_t _width; - const uint16_t _height; + uint16_t _width; + uint16_t _height; uint16_t _bgColor; uint16_t _fgColor; }; -#endif - - - - - +#endif \ No newline at end of file