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:90
rdlib::Return_Codes_e TFTDataCommandPin(void)
: Method for Data or Command pin setup
Definition ST7789_TFT_LCD_RDL.cpp:132
static constexpr uint8_t ST7789_DISPOFF
Definition ST7789_TFT_LCD_RDL.hpp:92
static constexpr uint8_t ST7789_SRLTTB
Definition ST7789_TFT_LCD_RDL.hpp:105
static constexpr uint8_t ST7789_COLMOD
Definition ST7789_TFT_LCD_RDL.hpp:106
uint8_t _colstart2
Definition ST7789_TFT_LCD_RDL.hpp:68
static constexpr uint8_t ST7789_GMCTRN1
Definition ST7789_TFT_LCD_RDL.hpp:125
static constexpr uint8_t ST7789_MADCTL_MY
Definition ST7789_TFT_LCD_RDL.hpp:128
static constexpr uint8_t ST7789_SLPIN
Definition ST7789_TFT_LCD_RDL.hpp:86
uint16_t _heightStartTFT
Definition ST7789_TFT_LCD_RDL.hpp:71
static constexpr uint8_t ST7789_NOP
Definition ST7789_TFT_LCD_RDL.hpp:82
static constexpr uint8_t ST7789_FRMCTR3
Definition ST7789_TFT_LCD_RDL.hpp:113
static constexpr uint8_t ST7789_PTLAR
Definition ST7789_TFT_LCD_RDL.hpp:102
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:206
int _spiBaud
Definition ST7789_TFT_LCD_RDL.hpp:76
uint16_t _widthStartTFT
Definition ST7789_TFT_LCD_RDL.hpp:70
rdlib::Return_Codes_e TFTST7789Initialize(void)
init routine for ST7789 controller
Definition ST7789_TFT_LCD_RDL.cpp:224
uint8_t _rowstart2
Definition ST7789_TFT_LCD_RDL.hpp:69
static constexpr uint8_t ST7789_FRMCTR2
Definition ST7789_TFT_LCD_RDL.hpp:112
static constexpr uint8_t ST7789_MADCTL_BGR
Definition ST7789_TFT_LCD_RDL.hpp:133
static constexpr uint8_t ST7789_INVON
Definition ST7789_TFT_LCD_RDL.hpp:91
void TFTsetRotation(display_rotate_e r)
: change rotation of display.
Definition ST7789_TFT_LCD_RDL.cpp:362
static constexpr uint8_t ST7789_DISSET5
Definition ST7789_TFT_LCD_RDL.hpp:116
rdlib::Return_Codes_e TFTInitSPI(uint16_t CommDelay, int gpioDev)
intialise PCBtype and SPI, Software SPI
Definition ST7789_TFT_LCD_RDL.cpp:458
static constexpr uint8_t ST7789_RAMWR
Definition ST7789_TFT_LCD_RDL.hpp:100
static constexpr uint8_t ST7789_RDID2
Definition ST7789_TFT_LCD_RDL.hpp:119
static constexpr uint8_t ST7789_CASET
Definition ST7789_TFT_LCD_RDL.hpp:98
static constexpr uint8_t ST7789_GMCTRP1
Definition ST7789_TFT_LCD_RDL.hpp:124
void TFTenableDisplay(bool m)
enable /disable display mode
Definition ST7789_TFT_LCD_RDL.cpp:320
int _spiChan
Definition ST7789_TFT_LCD_RDL.hpp:75
static constexpr uint8_t ST7789_PTLON
Definition ST7789_TFT_LCD_RDL.hpp:88
static constexpr uint8_t ST7789_IDLE_OFF
Definition ST7789_TFT_LCD_RDL.hpp:95
static constexpr uint8_t ST7789_IDLE_ON
Definition ST7789_TFT_LCD_RDL.hpp:94
void AdjustWidthHeight(void)
Initialization width and height code common to all ST7789 displays.
Definition ST7789_TFT_LCD_RDL.cpp:541
static constexpr uint8_t ST7789_MADCTL_MV
Definition ST7789_TFT_LCD_RDL.hpp:130
void TFTVerticalScroll(uint16_t vsp)
: This method is used together with the TFTsetScrollDefinition.
Definition ST7789_TFT_LCD_RDL.cpp:286
static constexpr uint8_t ST7789_NORON
Definition ST7789_TFT_LCD_RDL.hpp:89
static constexpr uint8_t ST7789_FRMCTR1
Definition ST7789_TFT_LCD_RDL.hpp:111
static constexpr uint8_t ST7789_RAMRD
Definition ST7789_TFT_LCD_RDL.hpp:101
display_rotate_e displayRotate
Definition ST7789_TFT_LCD_RDL.hpp:29
static constexpr uint8_t ST7789_RASET
Definition ST7789_TFT_LCD_RDL.hpp:99
static constexpr uint8_t ST7789_RDID3
Definition ST7789_TFT_LCD_RDL.hpp:120
static constexpr uint8_t ST7789_SRLBTT
Definition ST7789_TFT_LCD_RDL.hpp:104
static constexpr uint8_t ST7789_RDID1
Definition ST7789_TFT_LCD_RDL.hpp:118
static constexpr uint8_t ST7789_DISPON
Definition ST7789_TFT_LCD_RDL.hpp:93
int _spiDev
Definition ST7789_TFT_LCD_RDL.hpp:74
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:408
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:152
uint16_t HighFreqDelayGet(void)
Freq delay used in SW SPI getter, uS delay used in SW SPI method.
Definition ST7789_TFT_LCD_RDL.cpp:469
int _spiFlags
Definition ST7789_TFT_LCD_RDL.hpp:77
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:129
static constexpr uint8_t ST7789_MADCTL_MH
Definition ST7789_TFT_LCD_RDL.hpp:134
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:87
void cmd89(void)
Command Initialization sequence for ST7789 display.
Definition ST7789_TFT_LCD_RDL.cpp:507
uint8_t _colstart
Definition ST7789_TFT_LCD_RDL.hpp:66
void TFTNormalMode(void)
return Display to normal mode
Definition ST7789_TFT_LCD_RDL.cpp:447
void TFTchangeInvertMode(bool m)
Toggle the invert mode.
Definition ST7789_TFT_LCD_RDL.cpp:296
static constexpr uint8_t ST7789_INVCTR
Definition ST7789_TFT_LCD_RDL.hpp:115
void HighFreqDelaySet(uint16_t)
Freq delay used in SW SPI setter, uS delay used in SW SPI method.
Definition ST7789_TFT_LCD_RDL.cpp:475
void TFTpartialDisplay(bool m)
Toggle the partial display mode.
Definition ST7789_TFT_LCD_RDL.cpp:308
static constexpr uint8_t ST7789_RDID4
Definition ST7789_TFT_LCD_RDL.hpp:121
static constexpr uint8_t ST7789_VSCRSADD
Definition ST7789_TFT_LCD_RDL.hpp:108
static constexpr uint8_t ST7789_MADCTL_ML
Definition ST7789_TFT_LCD_RDL.hpp:131
static constexpr uint8_t ST7789_VSCRDEF
Definition ST7789_TFT_LCD_RDL.hpp:103
static constexpr uint8_t ST7789_MADCTL
Definition ST7789_TFT_LCD_RDL.hpp:107
void TFTsleepDisplay(bool m)
Toggle the sleep mode.
Definition ST7789_TFT_LCD_RDL.cpp:344
static constexpr uint8_t ST7789_MADCTL_RGB
Definition ST7789_TFT_LCD_RDL.hpp:132
rdlib::Return_Codes_e TFTResetPin(void)
Method for Hardware Reset pin control.
Definition ST7789_TFT_LCD_RDL.cpp:106
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:485
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:264
static constexpr uint8_t ST7789_SWRESET
Definition ST7789_TFT_LCD_RDL.hpp:83
void TFTidleDisplay(bool m)
Toggle the idle display mode.
Definition ST7789_TFT_LCD_RDL.cpp:332
uint8_t _rowstart
Definition ST7789_TFT_LCD_RDL.hpp:67
Class to handle fonts and graphics of color 16 bit display.
Definition color16_graphics_RDL.hpp:22
display_rotate_e
Definition color16_graphics_RDL.hpp:62
@ Degrees_0
Definition color16_graphics_RDL.hpp:63
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