EE445M RTOS
Taken at the University of Texas Spring 2015
|
Go to the source code of this file.
Functions | |
void | G2Draw (framebuffer) |
unsigned char * | G2ConvertFBToRITFormat (framebuffer) |
unsigned char* G2ConvertFBToRITFormat | ( | framebuffer | ) |
Unpack fb into in the format understood by RIT functions.
fb | Framebuffer to convert into a char* |
Definition at line 23 of file graphics2d.c.
References g_PackedDeviceBuffer, OLED_HEIGHT, OLED_WIDTH, and RIT_FB_WIDTH.
Referenced by demonstrateClock(), demonstrateDrawShapes(), demonstrateDrawString(), G2Draw(), and main().
void G2Draw | ( | framebuffer | ) |
Draw (unpacked) fb on the OLED.
fb | Framebuffer type (char**) |
Definition at line 49 of file graphics2d.c.
References G2ConvertFBToRITFormat(), g_PackedDeviceBuffer, OLED_HEIGHT, and OLED_WIDTH.