finished drivers

ssd1306 and sh1106 are ready
This commit is contained in:
2022-06-18 19:10:48 +02:00
parent 55f54a2d4a
commit e01ec3e367
6 changed files with 143 additions and 24 deletions

View File

@@ -27,3 +27,7 @@
#define SH1106_COMPADSCONFVAL 0x12 // 0x12h (000X 0010)
#define SH1106_VCOMDESMODE 0xDD // (1101 1101)
#define SH1106_VCOMDESVALUE 0x35 // 0x35h (XXXX XXXX) VCOM (Beta x Vref)
void SH1106_Init(OLED_HandleTypeDef *hOled);
void SH1106_display_all(OLED_HandleTypeDef *hOled);
OLED_SendStatus_t SH1106_display_page(OLED_HandleTypeDef *hOled);