Software
DIT Graphic Libraries - Framebuffer
Framebuffers
If you are not yet familiar with the concept of framebuffers, please read the Framebuffer article on Wikipedia.
And since in the embedded world we most likely have a slow connection between the MCU and the display framebuffer (like I2C), we actually use two framebuffers, in a setup known as double buffering:
- First all graphic functions write all updates to a local (MCU internal) framebuffer
- Once the new frame is complete, the changes are transferred en block to the remote framebuffer of the display
This is more efficient than sending every pixel changed by one of the graphic functions directly to the display.
Files in this library
Framebuffer.h |
Global declarations for the Frambuffer library |
Framebuffer_SSD1306 ( .h ,.c ) |
Implementation of a Framebuffer for the SSD1306 OLED controller IC |
Notes
This library is currently implemented for the Atmel Software Foundation only.
You can get rid of this dependency by
- removing
#include <asf.h>
- defining your own
enum status_code