21 lines
360 B
C++
21 lines
360 B
C++
#include <SPI.h>
|
|
#include <Adafruit_GFX.h>
|
|
#include <TFT_ILI9163C.h>
|
|
|
|
// Color definitions
|
|
#define BLACK 0x0000
|
|
#define BLUE 0x001F
|
|
#define RED 0xF800
|
|
#define GREEN 0x07E0
|
|
#define CYAN 0x07FF
|
|
#define MAGENTA 0xF81F
|
|
#define YELLOW 0xFFE0
|
|
#define WHITE 0xFFFF
|
|
|
|
TFT_ILI9163C tft = TFT_ILI9163C(10, 9, 14);
|
|
|
|
void setup() {
|
|
}
|
|
|
|
void loop(void) {
|
|
} |