|
|
| Adafruit_ST77xx (uint16_t w, uint16_t h, int8_t _CS, int8_t _DC, int8_t _MOSI, int8_t _SCLK, int8_t _RST=-1, int8_t _MISO=-1) |
| |
|
| Adafruit_ST77xx (uint16_t w, uint16_t h, int8_t CS, int8_t RS, int8_t RST=-1) |
| |
|
| Adafruit_ST77xx (uint16_t w, uint16_t h, SPIClass *spiClass, int8_t CS, int8_t RS, int8_t RST=-1) |
| |
| void | setAddrWindow (uint16_t x, uint16_t y, uint16_t w, uint16_t h) |
| | Set up the specific display hardware's "address window" for subsequent pixel-pushing operations.
|
| |
| void | setRotation (uint8_t r) |
| |
|
void | enableDisplay (boolean enable) |
| |
|
void | enableTearing (boolean enable) |
| |
|
void | enableSleep (boolean enable) |
| |
|
| Adafruit_SPITFT (uint16_t w, uint16_t h, int8_t cs, int8_t dc, int8_t mosi, int8_t sck, int8_t rst=-1, int8_t miso=-1) |
| |
|
| Adafruit_SPITFT (uint16_t w, uint16_t h, int8_t cs, int8_t dc, int8_t rst=-1) |
| |
|
| Adafruit_SPITFT (uint16_t w, uint16_t h, SPIClass *spiClass, int8_t cs, int8_t dc, int8_t rst=-1) |
| |
|
| Adafruit_SPITFT (uint16_t w, uint16_t h, tftBusWidth busWidth, int8_t d0, int8_t wr, int8_t dc, int8_t cs=-1, int8_t rst=-1, int8_t rd=-1) |
| |
|
void | initSPI (uint32_t freq=0, uint8_t spiMode=SPI_MODE0) |
| |
|
void | initSPI (uint32_t freq, uint8_t spiMode, bool reset) |
| |
|
void | setSPISpeed (uint32_t freq) |
| |
| void | startWrite (void) |
| |
| void | endWrite (void) |
| |
|
void | sendCommand (uint8_t commandByte, uint8_t *dataBytes, uint8_t numDataBytes) |
| |
|
void | sendCommand (uint8_t commandByte, const uint8_t *dataBytes=NULL, uint8_t numDataBytes=0) |
| |
|
void | sendCommand16 (uint16_t commandWord, const uint8_t *dataBytes=NULL, uint8_t numDataBytes=0) |
| |
|
uint8_t | readcommand8 (uint8_t commandByte, uint8_t index=0) |
| |
|
uint16_t | readcommand16 (uint16_t addr) |
| |
| void | writePixel (int16_t x, int16_t y, uint16_t color) |
| |
|
void | writePixels (uint16_t *colors, uint32_t len, bool block=true, bool bigEndian=false) |
| |
|
void | writeColor (uint16_t color, uint32_t len) |
| |
| void | writeFillRect (int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) |
| |
| void | writeFastHLine (int16_t x, int16_t y, int16_t w, uint16_t color) |
| |
| void | writeFastVLine (int16_t x, int16_t y, int16_t h, uint16_t color) |
| |
|
void | writeFillRectPreclipped (int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) |
| |
|
void | dmaWait (void) |
| |
|
bool | dmaBusy (void) const |
| |
|
void | swapBytes (uint16_t *src, uint32_t len, uint16_t *dest=NULL) |
| |
| void | drawPixel (int16_t x, int16_t y, uint16_t color) |
| | Draw to the screen/framebuffer/etc. Must be overridden in subclass.
|
| |
| void | fillRect (int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) |
| |
| void | drawFastHLine (int16_t x, int16_t y, int16_t w, uint16_t color) |
| |
| void | drawFastVLine (int16_t x, int16_t y, int16_t h, uint16_t color) |
| |
|
void | pushColor (uint16_t color) |
| |
|
void | drawRGBBitmap (int16_t x, int16_t y, uint16_t *pcolors, int16_t w, int16_t h) |
| |
| void | invertDisplay (bool i) |
| |
|
uint16_t | color565 (uint8_t r, uint8_t g, uint8_t b) |
| |
|
void | spiWrite (uint8_t b) |
| |
|
void | writeCommand (uint8_t cmd) |
| |
|
uint8_t | spiRead (void) |
| |
|
void | write16 (uint16_t w) |
| |
|
void | writeCommand16 (uint16_t cmd) |
| |
|
uint16_t | read16 (void) |
| |
|
void | SPI_WRITE16 (uint16_t w) |
| |
|
void | SPI_WRITE32 (uint32_t l) |
| |
|
void | SPI_CS_HIGH (void) |
| | Set the chip-select line HIGH. Does NOT check whether CS pin is set (>=0), that should be handled in calling function. Despite function name, this is used even if the display connection is parallel.
|
| |
|
void | SPI_CS_LOW (void) |
| | Set the chip-select line LOW. Does NOT check whether CS pin is set (>=0), that should be handled in calling function. Despite function name, this is used even if the display connection is parallel.
|
| |
|
void | SPI_DC_HIGH (void) |
| | Set the data/command line HIGH (data mode).
|
| |
|
void | SPI_DC_LOW (void) |
| | Set the data/command line LOW (command mode).
|
| |
|
void | drawRGBBitmap (int16_t x, int16_t y, const uint16_t bitmap[], int16_t w, int16_t h) |
| |
|
void | drawRGBBitmap (int16_t x, int16_t y, const uint16_t bitmap[], const uint8_t mask[], int16_t w, int16_t h) |
| |
|
void | drawRGBBitmap (int16_t x, int16_t y, uint16_t *bitmap, uint8_t *mask, int16_t w, int16_t h) |
| |
|
| Adafruit_GFX (int16_t w, int16_t h) |
| |
|
virtual void | writeLine (int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color) |
| |
|
virtual void | fillScreen (uint16_t color) |
| |
|
virtual void | drawLine (int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color) |
| |
|
virtual void | drawRect (int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) |
| |
|
void | drawCircle (int16_t x0, int16_t y0, int16_t r, uint16_t color) |
| |
|
void | drawCircleHelper (int16_t x0, int16_t y0, int16_t r, uint8_t cornername, uint16_t color) |
| |
|
void | fillCircle (int16_t x0, int16_t y0, int16_t r, uint16_t color) |
| |
|
void | fillCircleHelper (int16_t x0, int16_t y0, int16_t r, uint8_t cornername, int16_t delta, 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 | fillTriangle (int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color) |
| |
|
void | drawRoundRect (int16_t x0, int16_t y0, int16_t w, int16_t h, int16_t radius, uint16_t color) |
| |
|
void | fillRoundRect (int16_t x0, int16_t y0, int16_t w, int16_t h, int16_t radius, uint16_t color) |
| |
|
void | drawBitmap (int16_t x, int16_t y, const uint8_t bitmap[], int16_t w, int16_t h, uint16_t color) |
| |
|
void | drawBitmap (int16_t x, int16_t y, const uint8_t bitmap[], int16_t w, int16_t h, uint16_t color, uint16_t bg) |
| |
|
void | drawBitmap (int16_t x, int16_t y, uint8_t *bitmap, int16_t w, int16_t h, uint16_t color) |
| |
|
void | drawBitmap (int16_t x, int16_t y, uint8_t *bitmap, int16_t w, int16_t h, uint16_t color, uint16_t bg) |
| |
|
void | drawXBitmap (int16_t x, int16_t y, const uint8_t bitmap[], int16_t w, int16_t h, uint16_t color) |
| |
|
void | drawGrayscaleBitmap (int16_t x, int16_t y, const uint8_t bitmap[], int16_t w, int16_t h) |
| |
|
void | drawGrayscaleBitmap (int16_t x, int16_t y, uint8_t *bitmap, int16_t w, int16_t h) |
| |
|
void | drawGrayscaleBitmap (int16_t x, int16_t y, const uint8_t bitmap[], const uint8_t mask[], int16_t w, int16_t h) |
| |
|
void | drawGrayscaleBitmap (int16_t x, int16_t y, uint8_t *bitmap, uint8_t *mask, int16_t w, int16_t h) |
| |
|
void | drawRGBBitmap (int16_t x, int16_t y, const uint16_t bitmap[], int16_t w, int16_t h) |
| |
|
void | drawRGBBitmap (int16_t x, int16_t y, uint16_t *bitmap, int16_t w, int16_t h) |
| |
|
void | drawRGBBitmap (int16_t x, int16_t y, const uint16_t bitmap[], const uint8_t mask[], int16_t w, int16_t h) |
| |
|
void | drawRGBBitmap (int16_t x, int16_t y, uint16_t *bitmap, uint8_t *mask, int16_t w, int16_t h) |
| |
|
void | drawChar (int16_t x, int16_t y, unsigned char c, uint16_t color, uint16_t bg, uint8_t size) |
| |
|
void | drawChar (int16_t x, int16_t y, unsigned char c, uint16_t color, uint16_t bg, uint8_t size_x, uint8_t size_y) |
| |
|
void | getTextBounds (const char *string, int16_t x, int16_t y, int16_t *x1, int16_t *y1, uint16_t *w, uint16_t *h) |
| |
|
void | getTextBounds (const __FlashStringHelper *s, int16_t x, int16_t y, int16_t *x1, int16_t *y1, uint16_t *w, uint16_t *h) |
| |
|
void | getTextBounds (const String &str, int16_t x, int16_t y, int16_t *x1, int16_t *y1, uint16_t *w, uint16_t *h) |
| |
|
void | setTextSize (uint8_t s) |
| |
|
void | setTextSize (uint8_t sx, uint8_t sy) |
| |
|
void | setFont (const GFXfont *f=NULL) |
| |
| void | setCursor (int16_t x, int16_t y) |
| | Set text cursor location.
|
| |
| void | setTextColor (uint16_t c) |
| | Set text font color with transparant background.
|
| |
| void | setTextColor (uint16_t c, uint16_t bg) |
| | Set text font color with custom background color.
|
| |
| void | setTextWrap (bool w) |
| | Set whether text that is too long for the screen width should automatically wrap around to the next line (else clip right).
|
| |
| void | cp437 (bool x=true) |
| | Enable (or disable) Code Page 437-compatible charset. There was an error in glcdfont.c for the longest time – one character (#176, the 'light shade' block) was missing – this threw off the index of every character that followed it. But a TON of code has been written with the erroneous character indices. By default, the library uses the original 'wrong' behavior and old sketches will still work. Pass 'true' to this function to use correct CP437 character values in your code.
|
| |
| virtual void | write (uint8_t) |
| |
| int16_t | width (void) const |
| | Get width of the display, accounting for current rotation.
|
| |
| int16_t | height (void) const |
| | Get height of the display, accounting for current rotation.
|
| |
| uint8_t | getRotation (void) const |
| | Get rotation setting for display.
|
| |
| int16_t | getCursorX (void) const |
| | Get text cursor X location.
|
| |
| int16_t | getCursorY (void) const |
| | Get text cursor Y location.
|
| |
|
size_t | write (const char *str) |
| |
| virtual size_t | write (const uint8_t *buffer, size_t size) |
| |
|
size_t | write (const char *buffer, size_t size) |
| |
|
int | getWriteError () |
| |
|
void | clearWriteError () |
| |
|
size_t | write (const char *str) |
| |
|
size_t | write (const char *buffer, size_t size) |
| |
|
virtual int | availableForWrite () |
| |
|
size_t | print (const __FlashStringHelper *) |
| |
|
size_t | print (const String &) |
| |
|
size_t | print (const char[]) |
| |
|
size_t | print (char) |
| |
|
size_t | print (unsigned char, int=DEC) |
| |
|
size_t | print (int, int=DEC) |
| |
|
size_t | print (unsigned int, int=DEC) |
| |
|
size_t | print (long, int=DEC) |
| |
|
size_t | print (unsigned long, int=DEC) |
| |
|
size_t | print (long long, int=DEC) |
| |
|
size_t | print (unsigned long long, int=DEC) |
| |
|
size_t | print (float, int=2) |
| |
|
size_t | print (double, int=2) |
| |
|
size_t | print (const Printable &) |
| |
|
size_t | println (const __FlashStringHelper *) |
| |
|
size_t | println (const String &s) |
| |
|
size_t | println (const char[]) |
| |
|
size_t | println (char) |
| |
|
size_t | println (unsigned char, int=DEC) |
| |
|
size_t | println (int, int=DEC) |
| |
|
size_t | println (unsigned int, int=DEC) |
| |
|
size_t | println (long, int=DEC) |
| |
|
size_t | println (unsigned long, int=DEC) |
| |
|
size_t | println (long long, int=DEC) |
| |
|
size_t | println (unsigned long long, int=DEC) |
| |
|
size_t | println (float, int=2) |
| |
|
size_t | println (double, int=2) |
| |
|
size_t | println (const Printable &) |
| |
|
size_t | println (void) |
| |
|
int | printf (const char *format,...) |
| |
|
int | printf (const __FlashStringHelper *format,...) |
| |
|
int | vprintf (const __FlashStringHelper *format, va_list ap) |
| |
|
int | vprintf (const char *format, va_list ap) |
| |
|
virtual void | flush () |
| |