Linduino  1.3.0
Linear Technology Arduino-Compatible Demonstration Board
CapTouchPaint.ino File Reference

Go to the source code of this file.

Functions

static void setup (void)
 
static void loop ()
 

Macros

#define TFT_CS   10
 
#define TFT_DC   9
 
#define BOXSIZE   40
 
#define PENRADIUS   3
 

Variables

Adafruit_FT6206 ctp = Adafruit_FT6206()
 
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC)
 
static int oldcolor
 
static int currentcolor
 

Function Documentation

◆ loop()

static void loop ( void  )
static

Definition at line 68 of file CapTouchPaint.ino.

◆ setup()

static void setup ( void  )
static

Definition at line 36 of file CapTouchPaint.ino.

Macro Definition Documentation

◆ BOXSIZE

#define BOXSIZE   40

Definition at line 32 of file CapTouchPaint.ino.

◆ PENRADIUS

#define PENRADIUS   3

Definition at line 33 of file CapTouchPaint.ino.

◆ TFT_CS

#define TFT_CS   10

Definition at line 27 of file CapTouchPaint.ino.

◆ TFT_DC

#define TFT_DC   9

Definition at line 28 of file CapTouchPaint.ino.

Variable Documentation

◆ ctp

Definition at line 24 of file CapTouchPaint.ino.

◆ currentcolor

int currentcolor
static

Definition at line 34 of file CapTouchPaint.ino.

◆ oldcolor

int oldcolor
static

Definition at line 34 of file CapTouchPaint.ino.

◆ tft

Definition at line 29 of file CapTouchPaint.ino.