SSD1306 display controller driver.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
void | ssd1306_init (void) |
Initialize the OLED controller. More... | |
static void | ssd1306_interface_init (void) |
Initialize the hardware interface. More... | |
void | ssd1306_write_text (const char *string) |
Display text on OLED screen. More... | |
|
static |
Initialize the hardware interface.
Depending on what interface used for interfacing the OLED controller this function will initialize the necessary hardware.
References usart_spi_device::id, spi_device::id, spi_enable(), spi_master_init(), spi_master_setup_device(), SPI_MODE_0, usart_spi_init(), and usart_spi_setup_device().
Referenced by ssd1306_init().