Macros
Référence du fichier Adafruit_SPITFT.cpp
#include "Adafruit_SPITFT.h"

Macros

#define TFT_HARD_SPI   0
 Display interface = hardware SPI. Plus de détails...
 
#define TFT_SOFT_SPI   1
 Display interface = software SPI. Plus de détails...
 
#define TFT_PARALLEL   2
 Display interface = 8- or 16-bit parallel. Plus de détails...
 

Documentation des macros

◆ TFT_HARD_SPI

#define TFT_HARD_SPI   0

Display interface = hardware SPI.

Part of Adafruit's GFX graphics library. Originally this class was written to handle a range of color TFT displays connected via SPI, but over time this library and some display-specific subclasses have mutated to include some color OLEDs as well as parallel-interfaced displays. The name's been kept for the sake of older code.

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

Dependencies

This library depends on Adafruit_GFX being present on your system. Please make sure you have installed the latest version before using this library.

Author

Written by Limor "ladyada" Fried for Adafruit Industries, with contributions from the open source community.

License

BSD license, all text here must be included in any redistribution.

◆ TFT_PARALLEL

#define TFT_PARALLEL   2

Display interface = 8- or 16-bit parallel.

◆ TFT_SOFT_SPI

#define TFT_SOFT_SPI   1

Display interface = software SPI.