This file defines the interface for the ST7735 display library
lcd->
drawLine(10, 10, 10, 100, ST7735_MAGENTA);
lcd->
drawLine(20, 20, 10, 100, ST7735_YELLOW);
lcd->
drawLine(30, 30, 50, 100, ST7735_WHITE);
lcd->
print(
"Hello World!");
std::cout << "exiting application" << std::endl;
delete lcd;
|
| ST7735 (uint8_t csLCD, uint8_t cSD, uint8_t rs, uint8_t rst) |
|
| ~ST7735 () |
|
std::string | name () |
|
void | initModule () |
|
void | configModule () |
|
void | write (uint8_t value) |
|
void | data (uint8_t value) |
|
void | executeCMDList (const uint8_t *addr) |
|
void | setAddrWindow (uint8_t x0, uint8_t y0, uint8_t x1, uint8_t y1) |
|
void | drawPixel (int16_t x, int16_t y, uint16_t color) |
|
void | refresh () |
|
mraa_result_t | lcdCSOn () |
|
mraa_result_t | lcdCSOff () |
|
mraa_result_t | sdCSOn () |
|
mraa_result_t | sdCSOff () |
|
mraa_result_t | rsHIGH () |
|
mraa_result_t | rsLOW () |
|
| GFX (int width, int height, uint8_t *screenBuffer, const unsigned char *font) |
|
| ~GFX () |
|
void | drawChar (int16_t x, int16_t y, uint8_t data, uint16_t color, uint16_t bg, uint8_t size) |
|
void | print (std::string msg) |
|
mraa_result_t | setPixel (int x, int y, uint16_t color) |
|
void | fillScreen (uint16_t color) |
|
void | fillRect (int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) |
|
void | drawFastVLine (int16_t x, int16_t y, int16_t h, uint16_t color) |
|
void | drawLine (int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color) |
|
void | drawTriangle (int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color) |
|
void | drawCircle (int16_t x, int16_t y, int16_t r, uint16_t color) |
|
void | setCursor (int16_t x, int16_t y) |
|
void | setTextColor (uint16_t textColor, uint16_t textBGColor) |
|
void | setTextSize (uint8_t size) |
|
void | setTextWrap (uint8_t wrap) |
|