|
TB2026-YDS Firmware
|
SSD1333 OLED driver (NHD-1.91-176176UBC3, 176x176, 4-wire SPI). More...
#include "esp_err.h"#include "driver/spi_master.h"Go to the source code of this file.
Macros | |
| #define | DISPLAY_OLED_BRIGHTNESS_MAX 15 |
Functions | |
| esp_err_t | display_oled_init (spi_device_handle_t spi) |
| Reset the panel and run the SSD1333 init sequence (gamma, contrast, display on). | |
| esp_err_t | display_oled_draw (const uint8_t *buf, size_t len) |
| Blit a full framebuffer to the panel. | |
| esp_err_t | display_oled_clear (void) |
| Clear the panel to black directly, without a framebuffer. | |
| esp_err_t | display_oled_set_brightness (uint8_t level) |
| Set the global panel brightness (SSD1333 Master Current, cmd 0xC7). | |
| esp_err_t | display_oled_sleep (void) |
| Put the panel to sleep (SSD1333 Display OFF, cmd 0xAE). | |
| esp_err_t | display_oled_wake (void) |
| Wake the panel from sleep (SSD1333 Display ON, cmd 0xAF). | |
SSD1333 OLED driver (NHD-1.91-176176UBC3, 176x176, 4-wire SPI).