Test for STM32F4
Fork of RGB_OLED_SSD1331 by
Diff: include/SGL.h
- Revision:
- 3:af00512c9694
- Parent:
- 1:b55525d2db34
- Child:
- 4:1707ca53e7d5
--- a/include/SGL.h Thu Nov 12 22:31:58 2015 +0000 +++ b/include/SGL.h Thu Nov 12 23:23:33 2015 +0000 @@ -144,7 +144,7 @@ public: SGL(uint16_t width, uint16_t height); - virtual void drawPixel(uint16_t x, uint16_t y, uint16_t color) = 0; // implemented by subclass + virtual void drawPixel(uint8_t x, uint8_t y, uint16_t color) = 0; // implemented by subclass virtual void drawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color); virtual void drawVerticalLine(uint16_t x, uint16_t y, uint16_t height,uint16_t color); virtual void drawHorizontalLine(uint16_t x, uint16_t y, uint16_t width, uint16_t color);