3 #ifndef _MINI_TFT_WING_H 4 #define _MINI_TFT_WING_H 8 #define TFTWING_ADDR 0x5E 10 #define TFTWING_BACKLIGHT_ON 0 // inverted output! 11 #define TFTWING_BACKLIGHT_OFF 0xFFFF // inverted output! 13 extern uint32_t TFTWING_BUTTON_UP, TFTWING_BUTTON_DOWN, TFTWING_BUTTON_LEFT,
14 TFTWING_BUTTON_RIGHT, TFTWING_BUTTON_A, TFTWING_BUTTON_B,
15 TFTWING_BUTTON_SELECT;
28 bool begin(uint8_t addr = TFTWING_ADDR, TwoWire *Wi = NULL);
void setBacklight(uint16_t value)
set the value of the backlight
Definition: Adafruit_miniTFTWing.cpp:92
Class that stores state and functions for interacting with seesaw helper IC.
Definition: Adafruit_seesaw.h:235
bool begin(uint8_t addr=TFTWING_ADDR, TwoWire *Wi=NULL)
set up the miniTFTWing
Definition: Adafruit_miniTFTWing.cpp:41
Class that stores state and functions for interacting with mini tft wing variant of seesaw helper IC...
Definition: Adafruit_miniTFTWing.h:23
void setBacklightFreq(uint16_t freq)
set the PWM frequency for the backlight
Definition: Adafruit_miniTFTWing.cpp:114
uint32_t readButtons()
read all buttons on the wing and return as a 32 bit integer
Definition: Adafruit_miniTFTWing.cpp:138
void tftReset(bool rst=true)
reset the TFT screen by setting the value of the reset pin
Definition: Adafruit_miniTFTWing.cpp:128