IOGS / LEnsE / Logos GUI

Dependents:   PIMS_WDM_IHM

IOGS_LEnsE_GUI.cpp

Committer:
villemejane
Date:
2018-12-18
Revision:
0:a57159385e69
Child:
1:4118813c2218

File content as of revision 0:a57159385e69:

#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]);
        }
    }    
}