Basic example how to use DrawPixel with STM32F746
Dependencies: BSP_DISCO_F746NG LCD_DISCO_F746NG TS_DISCO_F746NG mbed
main.cpp
- Committer:
- billycorgan123
- Date:
- 2016-06-12
- Revision:
- 0:d421f2c38453
- Child:
- 1:8a54b7de2617
File content as of revision 0:d421f2c38453:
#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