37 lcduint_t rx = w ? (x + w - 1) : (m_base.width() - 1);
41 this->send( (rx < m_base.width() ? rx : (m_base.width() - 1)) / 2 );
44 this->send(m_base.height() - 1);
105 static const PROGMEM uint8_t s_SSD1327_lcd128x128_initData[] = {
107 SDL_LCD_SSD1327, 0x00,
108 SDL_LCD_SSD1327_GENERIC, 0x00,
115 0xA0, 0x01, 0x40 | 0x10 | (0x02 | 0x01),
140 _configureSpiDisplayCmdModeOnly<I>(this->m_intf,
141 s_SSD1327_lcd128x128_initData,
142 sizeof(s_SSD1327_lcd128x128_initData));
void nextBlock()
Switches to the start of next RAM page for the block, specified by startBlock().
uint8_t lcduint_t
internal int type, used by the library.
void lcd_gpioWrite(int pin, int level)
Writes value to gpio.
void endController()
Basic SSD1327 deinitialization.
void beginDisplay()
Basic SSD1327 initialization.
SSD1306 HAL IO communication functions.
void ssd1306_resetController2(int8_t rstPin, uint8_t delayMs)
Does hardware reset for oled controller.
void endBlock()
Closes data send operation to lcd display.
void startBlock(lcduint_t x, lcduint_t y, lcduint_t w)
Sets block in RAM of lcd display controller to write data to.
void setContrast(uint8_t contrast)
Set display contrast, ie light intensity.
#define LCD_LOW
Constant corresponds to low level of gpio pin.
Basic structures of nano gfx library.
void endDisplay()
Basic SSD1327 deinitialization.
void commandStart()
Starts communication with LCD display in command mode.
void setDataMode(uint8_t mode)
Enables either data or command mode on SPI bus.
#define LCD_HIGH
Constant corresponds to high level of gpio pin.
void beginController()
Basic SSD1327 128x128 initialization.
void lcd_delay(unsigned long ms)
Forces current thread to sleeps for specified number of milliseconds.