47 unsigned char button = 0x00;
void TFT_Background(int color)
This function paints the display background a specific color.
unsigned char CAP1203_ReadPressedButton(void)
Return id indicating which button was pressed.
void CAP1203_Initialize(void)
Basic configuration for the capacitive touch controller. Configures the sensor inactive mode and acti...
void SPI_Initialize(void)
Initializes the SPI peripheral.
const unsigned char FontASCII8X16[]
void TFT_Disk(unsigned int CenterX, unsigned int CenterY, unsigned int Radius, unsigned int color)
This function plots a full disk on the display.
void I2C_Initialize(unsigned char address)
Initializes the I2C peripheral.
void TFT_Circle(unsigned int CenterX, unsigned int CenterY, unsigned int Radius, unsigned int color)
This function draws a circle centered a x,y with radius R and specific color.
void delay_ms(unsigned int ms)
Delay in ms.
void TFT_Initialize(void)
This function intializes the display controller and prepares it for any subsequent operations...