IOGS / LEnsE / Logos GUI
Diff: IOGS_LEnsE_GUI.cpp
- Revision:
- 0:a57159385e69
- Child:
- 1:4118813c2218
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IOGS_LEnsE_GUI.cpp Tue Dec 18 14:31:34 2018 +0000 @@ -0,0 +1,13 @@ +#include "IOGS_LEnsE_GUI.hpp" + + +void DrawImage(tImage image, LCD_DISCO_F429ZI *lcd){ + int x, y, x_max, y_max; + x_max = image.width; + y_max = image.height; + for(y = 0; y < y_max; y++){ + for(x = 0; x < x_max; x++){ + lcd->DrawPixel(x, y, image.data[x + y*x_max]); + } + } +}