Demo of low res colour vga video for stm32f3 discovery board
Dependencies: STM32F3-Discovery-minimal
Fork of Space_Invaders_Demo by
Diff: bounce.c
- Revision:
- 10:8ffcefda667a
- Parent:
- 8:34fb94209517
--- a/bounce.c Tue May 29 23:52:40 2018 +0000 +++ b/bounce.c Wed May 30 03:23:47 2018 +0000 @@ -30,9 +30,9 @@ gdiRectangle(px-8,VID_VSIZE-5,px+7,VID_VSIZE-2,0); gdiRectangle(px-8,VID_VSIZE-4,px+7,VID_VSIZE-3,0); gdiSetColour(7); - sprintf(string,"COUNT=%d",count); + sprintf(string,"Count=%d",count); gdiDrawTextEx(4,4,(pu8)string,0); - sprintf(string,"HIGH=%d",maxcount); + sprintf(string,"High=%d",maxcount); gdiDrawTextEx(VID_HSIZE-6*strlen(string)-4,4,(pu8)string,0); // sysDelayMs(5); @@ -69,7 +69,7 @@ } } ballvy=ballvy+1; - + if(buttonPress()) return; } } \ No newline at end of file