33 #include "v2/lcd/base/display.h" 53 template <
typename... Args>
104 const int8_t m_dc = -1;
107 uint8_t m_column = 0;
163 void beginController();
168 void endController();
170 #ifdef CONFIG_LCDGFX_PLATFORM_SPI 184 explicit DisplayPCD8544_84x48_SPI(int8_t rstPin,
const SPlatformSpiConfig &config = {-1, {-1}, -1, 0U, -1, -1})
186 , m_spi(*
this, config.dc,
188 config.busId, {config.cs}, config.
dc, config.frequency ?: static_cast<uint32_t>(4000000), config.scl, config.sda})
195 void begin()
override;
222 template <
typename... Args>
225 , m_spi(*this, dcPin, data...)
250 #include "lcd_pcd8544.inl" DisplayPCD8544_84x48(I &intf, int8_t rstPin)
Creates instance of PCD8544 84x48 controller class for 1-bit mode.
uint8_t lcduint_t
internal int type, used by the library.
DisplayPCD8544(I &intf, int8_t rstPin)
Creates instance of PCD8544 controller class for 1-bit mode.
void setDataMode(uint8_t mode)
Enables either data or command mode on SPI bus.
void nextBlock()
Switches to the start of next RAM page for the block, specified by startBlock().
Class implements basic functions for 1-bit mode of PCD8544-based displays.
SSD1306 HAL IO communication functions.
void begin() override
Initializes PCD8544 lcd in 1-bit mode.
DisplayPCD8544_84x48_CustomSPI(int8_t rstPin, int8_t dcPin, Args &&... data)
Inits 84x48 lcd display over spi (based on PCD8544 controller): 1-bit mode.
InterfacePCD8544(NanoDisplayBase< InterfacePCD8544< I >> &base, int8_t dc, Args &&... data)
Creates instance of interface to LCD display.
Class implements interface functions to PCD8544 displays.
void commandStart()
Starts communication with LCD display in command mode.
NanoDisplayOps1 is template class for 1-bit operations.
void endBlock()
Closes data send operation to lcd display.
int8_t m_rstPin
indicates hardware reset pin used, -1 if it is not required
Class implements basic functions for 1-bit mode of PCD8544-based displays.
Template class implements PCD8544 84x48 lcd display in 1 bit mode over custom SPI implementation (use...
NanoCanvasOps provides operations for drawing in memory buffer.
Class implements basic display operations for the library: It stores reference to communication inter...
void startBlock(lcduint_t x, lcduint_t y, lcduint_t w)
Sets block in RAM of lcd display controller to write data to.
void end() override
Closes connection to display.