![]() The drawing functions work in the screen buffer memory. (#define SSD1306_USE_DMA 1, #define SSD1306_CONTUPDATE 0) It will not exit this function until it has completed the transfer. Thus, the contents of the "screen buffer" are transferred to the display. When all drawing functions are completed, use the "ssd1306_UpdateScreen" function. (#define SSD1306_USE_DMA 0, #define SSD1306_CONTUPDATE 0) ![]() ![]() #define SSD1306_CONTUPDATE 0 or 1 (display update mode in DMA mode).#define SSD1306_USE_DMA 0 or 1 (not use or use the DMA).#define SSD1306_I2C_PORT hi2c1 or hi2c2 or hi2c3 (which i2c are you using).(please see the examples) Settings in "ssd1306_defines.h" The driver can work in 3 modes Settings in CubeMX or CubeIDE
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |