![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
Go to the source code of this file.
Functions | |
| static void | setup (void) |
| static void | loop () |
Macros | |
| #define | YP A2 |
| NOT FOR USE WITH THE TOUCH SHIELD, ONLY FOR THE BREAKOUT! More... | |
| #define | XM A3 |
| #define | YM 5 |
| #define | XP 4 |
| #define | TS_MINX 150 |
| #define | TS_MINY 120 |
| #define | TS_MAXX 920 |
| #define | TS_MAXY 940 |
| #define | MINPRESSURE 10 |
| #define | MAXPRESSURE 1000 |
| #define | TFT_CS 10 |
| #define | TFT_DC 9 |
| #define | BOXSIZE 40 |
| #define | PENRADIUS 3 |
Variables | |
| Adafruit_ILI9341 | tft = Adafruit_ILI9341(TFT_CS, TFT_DC) |
| TouchScreen | ts = TouchScreen(XP, YP, XM, YM, 300) |
| static int | oldcolor |
| static int | currentcolor |
|
static |
Definition at line 77 of file breakouttouchpaint.ino.
|
static |
Definition at line 53 of file breakouttouchpaint.ino.
| #define BOXSIZE 40 |
Definition at line 49 of file breakouttouchpaint.ino.
| #define MAXPRESSURE 1000 |
Definition at line 36 of file breakouttouchpaint.ino.
| #define MINPRESSURE 10 |
Definition at line 35 of file breakouttouchpaint.ino.
| #define PENRADIUS 3 |
Definition at line 50 of file breakouttouchpaint.ino.
| #define TFT_CS 10 |
Definition at line 39 of file breakouttouchpaint.ino.
| #define TFT_DC 9 |
Definition at line 40 of file breakouttouchpaint.ino.
| #define TS_MAXX 920 |
Definition at line 32 of file breakouttouchpaint.ino.
| #define TS_MAXY 940 |
Definition at line 33 of file breakouttouchpaint.ino.
| #define TS_MINX 150 |
Definition at line 30 of file breakouttouchpaint.ino.
| #define TS_MINY 120 |
Definition at line 31 of file breakouttouchpaint.ino.
| #define XM A3 |
Definition at line 25 of file breakouttouchpaint.ino.
| #define XP 4 |
Definition at line 27 of file breakouttouchpaint.ino.
| #define YM 5 |
Definition at line 26 of file breakouttouchpaint.ino.
| #define YP A2 |
NOT FOR USE WITH THE TOUCH SHIELD, ONLY FOR THE BREAKOUT!
Definition at line 24 of file breakouttouchpaint.ino.
|
static |
Definition at line 51 of file breakouttouchpaint.ino.
|
static |
Definition at line 51 of file breakouttouchpaint.ino.
| Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC) |
Definition at line 41 of file breakouttouchpaint.ino.
| TouchScreen ts = TouchScreen(XP, YP, XM, YM, 300) |
Definition at line 46 of file breakouttouchpaint.ino.