14#ifndef ADAFRUIT_TFTSHIELD18_API_H
15#define ADAFRUIT_TFTSHIELD18_API_H
18#include "Adafruit_TFTShield18_Macros.h"
19#include "stm32h5xx_hal.h"
void TFTShield18_tftReset(bool rst)
Perform a SW reset of the display and seesaw devices. Required to be called after initialization to r...
void TFTShield18_create(I2C_HandleTypeDef *i2c_handle)
Function to create an instance of the seesaw class for the TFT shield. Must be called before any othe...
uint32_t TFTShield18_readButtons()
Function to read the state of the on board shield buttons from the seesaw chip over I2C....
void TFTShield18_setBacklightFreq(uint16_t freq)
Sets the frequency of the backlight PWM.
void TFTShield18_setBacklight(uint16_t value)
Sets the backlight to a value between 0(0x0000) (off) and 65535(0xFFFF) (full brightness).
struct TFTShield18_Handle TFTShield18_Handle
Internal handle used to store the instance of an Adafruit_TFTShield18 class for use in the C API func...
Definition Adafruit_TFTShield18_API.h:31
bool TFTShield18_begin()
Function to initialize the seesaw device on the TFT shield. Must be called before using any other fun...