Test for STM32F4
Fork of RGB_OLED_SSD1331 by
Diff: include/SSD1331.h
- Revision:
- 4:1707ca53e7d5
- Parent:
- 3:af00512c9694
- Child:
- 5:9de43186f5ea
--- a/include/SSD1331.h Thu Nov 12 23:23:33 2015 +0000 +++ b/include/SSD1331.h Thu Nov 12 23:53:58 2015 +0000 @@ -189,7 +189,7 @@ SSD1331(PinName cs, PinName rst, PinName dc, PinName mosi, PinName miso, PinName sclk); void init(void); virtual void drawPixel(uint8_t x, uint8_t y, uint16_t color); - virtual void drawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color); + virtual void drawLine(uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1, uint16_t color); void drawFrame(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t outColor, uint16_t fillColor); void copyWindow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1,uint16_t x2, uint16_t y2); void dimWindow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1);