![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
enrico, forno, prova
Dependencies: BSP_DISCO_F746NG LCD_DISCO_F746NG Shifter TS_DISCO_F746NG mbed
Fork of F746_DrawPixel by
Diff: main.cpp
- Revision:
- 0:d421f2c38453
- Child:
- 1:8a54b7de2617
diff -r 000000000000 -r d421f2c38453 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Jun 12 12:30:54 2016 +0000 @@ -0,0 +1,22 @@ +#include "mbed.h" +#include "LCD_DISCO_F746NG.h" +#include "prova.c" + +LCD_DISCO_F746NG lcd; + +int main() +{ + while(1) { + // Initial image + int riga, colonna; + unsigned long contatore=0; + for (riga=480; riga>0; riga--) { + for ( colonna=0; colonna<480; colonna++) { + lcd.DrawPixel (colonna, 480-riga, _acprova[contatore]); + contatore++; + } + colonna=0; + } + wait(3.0); + }//close while(1) +}//close main