Hello,
I am using emWin to control a small 1 bit OLED (SSD1306) display. I am using the GUIDRV_Lin driver as it is the only one provided in the STemWin package that supports 1 bit/pixel.
The implementation is rather simple - the LCD driver only supports the init command and GUIDRV_Lin writes directly into the framebuffer. All I have to add is after displaying something (eg write some text), I have to manually copy the contents of the framebuffer to the OLED module via SPI.
Probably this is not the way GUIDRV_Lin is intended to use, but it is simple and works well enough. Is there a way to automatically call the "copy framebuffer to SPI" routine - eg some callback after a screen update?
Thanks! Martin
I am using emWin to control a small 1 bit OLED (SSD1306) display. I am using the GUIDRV_Lin driver as it is the only one provided in the STemWin package that supports 1 bit/pixel.
The implementation is rather simple - the LCD driver only supports the init command and GUIDRV_Lin writes directly into the framebuffer. All I have to add is after displaying something (eg write some text), I have to manually copy the contents of the framebuffer to the OLED module via SPI.
Probably this is not the way GUIDRV_Lin is intended to use, but it is simple and works well enough. Is there a way to automatically call the "copy framebuffer to SPI" routine - eg some callback after a screen update?
Thanks! Martin