static constexpr int defaultFormat()
Called from vector & string template , Get the default format for a given type.
Definition print_data_RDL.hpp:206
Class to control ST7789 TFT basic functionality.
Definition ST7789_TFT_LCD_RDL.hpp:20
static constexpr uint8_t ST7789_INVOFF
Definition ST7789_TFT_LCD_RDL.hpp:93
rdlib::Return_Codes_e TFTDataCommandPin(void)
: Method for Data or Command pin setup
Definition ST7789_TFT_LCD_RDL.cpp:137
static constexpr uint8_t ST7789_DISPOFF
Definition ST7789_TFT_LCD_RDL.hpp:95
static constexpr uint8_t ST7789_SRLTTB
Definition ST7789_TFT_LCD_RDL.hpp:108
static constexpr uint8_t ST7789_COLMOD
Definition ST7789_TFT_LCD_RDL.hpp:109
uint8_t _colstart2
Definition ST7789_TFT_LCD_RDL.hpp:70
static constexpr uint8_t ST7789_GMCTRN1
Definition ST7789_TFT_LCD_RDL.hpp:128
static constexpr uint8_t ST7789_MADCTL_MY
Definition ST7789_TFT_LCD_RDL.hpp:131
static constexpr uint8_t ST7789_SLPIN
Definition ST7789_TFT_LCD_RDL.hpp:89
uint16_t _heightStartTFT
Definition ST7789_TFT_LCD_RDL.hpp:73
static constexpr uint8_t ST7789_NOP
Definition ST7789_TFT_LCD_RDL.hpp:85
static constexpr uint8_t ST7789_FRMCTR3
Definition ST7789_TFT_LCD_RDL.hpp:116
static constexpr uint8_t ST7789_PTLAR
Definition ST7789_TFT_LCD_RDL.hpp:105
void TFTSetupGPIO(int8_t, int8_t, int8_t, int8_t, int8_t)
sets up TFT GPIO for software SPI
Definition ST7789_TFT_LCD_RDL.cpp:213
int _spiBaud
Definition ST7789_TFT_LCD_RDL.hpp:78
uint16_t _widthStartTFT
Definition ST7789_TFT_LCD_RDL.hpp:72
rdlib::Return_Codes_e TFTST7789Initialize(void)
init routine for ST7789 controller
Definition ST7789_TFT_LCD_RDL.cpp:231
uint8_t _rowstart2
Definition ST7789_TFT_LCD_RDL.hpp:71
static constexpr uint8_t ST7789_FRMCTR2
Definition ST7789_TFT_LCD_RDL.hpp:115
static constexpr uint8_t ST7789_MADCTL_BGR
Definition ST7789_TFT_LCD_RDL.hpp:136
static constexpr uint8_t ST7789_INVON
Definition ST7789_TFT_LCD_RDL.hpp:94
void TFTsetRotation(display_rotate_e r)
: change rotation of display.
Definition ST7789_TFT_LCD_RDL.cpp:369
static constexpr uint8_t ST7789_DISSET5
Definition ST7789_TFT_LCD_RDL.hpp:119
rdlib::Return_Codes_e TFTInitSPI(uint16_t CommDelay, int gpioDev)
intialise PCBtype and SPI, Software SPI
Definition ST7789_TFT_LCD_RDL.cpp:465
static constexpr uint8_t ST7789_RAMWR
Definition ST7789_TFT_LCD_RDL.hpp:103
void TFTsoftwareReset(void)
software reset
Definition ST7789_TFT_LCD_RDL.cpp:591
static constexpr uint8_t ST7789_RDID2
Definition ST7789_TFT_LCD_RDL.hpp:122
static constexpr uint8_t ST7789_CASET
Definition ST7789_TFT_LCD_RDL.hpp:101
static constexpr uint8_t ST7789_GMCTRP1
Definition ST7789_TFT_LCD_RDL.hpp:127
void TFTenableDisplay(bool m)
enable /disable display mode
Definition ST7789_TFT_LCD_RDL.cpp:327
int _spiChan
Definition ST7789_TFT_LCD_RDL.hpp:77
static constexpr uint8_t ST7789_PTLON
Definition ST7789_TFT_LCD_RDL.hpp:91
static constexpr uint8_t ST7789_IDLE_OFF
Definition ST7789_TFT_LCD_RDL.hpp:98
static constexpr uint8_t ST7789_IDLE_ON
Definition ST7789_TFT_LCD_RDL.hpp:97
void AdjustWidthHeight(void)
Initialization width and height code common to all ST7789 displays.
Definition ST7789_TFT_LCD_RDL.cpp:551
static constexpr uint8_t ST7789_MADCTL_MV
Definition ST7789_TFT_LCD_RDL.hpp:133
void TFTVerticalScroll(uint16_t vsp)
: This method is used together with the TFTsetScrollDefinition.
Definition ST7789_TFT_LCD_RDL.cpp:293
static constexpr uint8_t ST7789_NORON
Definition ST7789_TFT_LCD_RDL.hpp:92
bool _resetPinOn
Definition ST7789_TFT_LCD_RDL.hpp:80
static constexpr uint8_t ST7789_FRMCTR1
Definition ST7789_TFT_LCD_RDL.hpp:114
static constexpr uint8_t ST7789_RAMRD
Definition ST7789_TFT_LCD_RDL.hpp:104
display_rotate_e displayRotate
Definition ST7789_TFT_LCD_RDL.hpp:29
static constexpr uint8_t ST7789_RASET
Definition ST7789_TFT_LCD_RDL.hpp:102
static constexpr uint8_t ST7789_RDID3
Definition ST7789_TFT_LCD_RDL.hpp:123
static constexpr uint8_t ST7789_SRLBTT
Definition ST7789_TFT_LCD_RDL.hpp:107
static constexpr uint8_t ST7789_RDID1
Definition ST7789_TFT_LCD_RDL.hpp:121
static constexpr uint8_t ST7789_DISPON
Definition ST7789_TFT_LCD_RDL.hpp:96
int _spiDev
Definition ST7789_TFT_LCD_RDL.hpp:76
void TFTInitScreenSize(uint8_t xOffset, uint8_t yOffset, uint16_t w, uint16_t h)
initialise the variables that define the size of the screen
Definition ST7789_TFT_LCD_RDL.cpp:415
rdlib::Return_Codes_e TFTClock_Data_ChipSelect_Pins(void)
: Method for Clock, data and chip select pin setup routine for software SPI.
Definition ST7789_TFT_LCD_RDL.cpp:157
uint16_t HighFreqDelayGet(void)
Freq delay used in SW SPI getter, uS delay used in SW SPI method.
Definition ST7789_TFT_LCD_RDL.cpp:476
int _spiFlags
Definition ST7789_TFT_LCD_RDL.hpp:79
rdlib::Return_Codes_e TFTPowerDown(void)
Call when powering down TFT.
Definition ST7789_TFT_LCD_RDL.cpp:24
static constexpr uint8_t ST7789_MADCTL_MX
Definition ST7789_TFT_LCD_RDL.hpp:132
static constexpr uint8_t ST7789_MADCTL_MH
Definition ST7789_TFT_LCD_RDL.hpp:137
ST7789_TFT()
Constructor for class ST7789_TFT.
Definition ST7789_TFT_LCD_RDL.cpp:12
static constexpr uint8_t ST7789_SLPOUT
Definition ST7789_TFT_LCD_RDL.hpp:90
void cmd89(void)
Command Initialization sequence for ST7789 display.
Definition ST7789_TFT_LCD_RDL.cpp:517
void TFTSetupResetPin(int8_t rst)
sets up TFT GPIO reset pin
Definition ST7789_TFT_LCD_RDL.cpp:574
uint8_t _colstart
Definition ST7789_TFT_LCD_RDL.hpp:68
void TFTNormalMode(void)
return Display to normal mode
Definition ST7789_TFT_LCD_RDL.cpp:454
void TFTchangeInvertMode(bool m)
Toggle the invert mode.
Definition ST7789_TFT_LCD_RDL.cpp:303
static constexpr uint8_t ST7789_INVCTR
Definition ST7789_TFT_LCD_RDL.hpp:118
void HighFreqDelaySet(uint16_t)
Freq delay used in SW SPI setter, uS delay used in SW SPI method.
Definition ST7789_TFT_LCD_RDL.cpp:482
void TFTpartialDisplay(bool m)
Toggle the partial display mode.
Definition ST7789_TFT_LCD_RDL.cpp:315
static constexpr uint8_t ST7789_RDID4
Definition ST7789_TFT_LCD_RDL.hpp:124
static constexpr uint8_t ST7789_VSCRSADD
Definition ST7789_TFT_LCD_RDL.hpp:111
static constexpr uint8_t ST7789_MADCTL_ML
Definition ST7789_TFT_LCD_RDL.hpp:134
static constexpr uint8_t ST7789_VSCRDEF
Definition ST7789_TFT_LCD_RDL.hpp:106
static constexpr uint8_t ST7789_MADCTL
Definition ST7789_TFT_LCD_RDL.hpp:110
void TFTsleepDisplay(bool m)
Toggle the sleep mode.
Definition ST7789_TFT_LCD_RDL.cpp:351
static constexpr uint8_t ST7789_MADCTL_RGB
Definition ST7789_TFT_LCD_RDL.hpp:135
rdlib::Return_Codes_e TFTResetPin(void)
Method for Hardware Reset pin setup and control.
Definition ST7789_TFT_LCD_RDL.cpp:110
virtual void setAddrWindow(uint16_t, uint16_t, uint16_t, uint16_t) override
SPI displays set an address window rectangle for blitting pixels.
Definition ST7789_TFT_LCD_RDL.cpp:492
void TFTsetScrollDefinition(uint16_t th, uint16_t tb, bool sd)
This method defines the Vertical Scrolling Area of the display where:
Definition ST7789_TFT_LCD_RDL.cpp:271
static constexpr uint8_t ST7789_SWRESET
Definition ST7789_TFT_LCD_RDL.hpp:86
void TFTidleDisplay(bool m)
Toggle the idle display mode.
Definition ST7789_TFT_LCD_RDL.cpp:339
uint8_t _rowstart
Definition ST7789_TFT_LCD_RDL.hpp:69
Class to handle fonts and graphics of color 16 bit display.
Definition color16_graphics_RDL.hpp:23
display_rotate_e
Definition color16_graphics_RDL.hpp:73
@ Degrees_0
Definition color16_graphics_RDL.hpp:74
Library header file for 16 bit (565) color graphics library. This file handles the graphic methods.
Return_Codes_e
Definition common_data_RDL.hpp:22