原创 Keil當時使用僞隨機數

#include <stdlib.h> srand(100); x=rand()%320; y=rand()%480; dx=rand()%320; dy=rand()%480; color=rand()%0xFFFF; LCD_SetF