全文预览

贪吃蛇实验资料

上传者:叶子黄了 |  格式:docx  |  页数:19 |  大小:52KB

文档介绍
0;mb++) { SysCtlDelay (500*(20000000/3000)); //2 } TFTLCD_ShowString(30,160, " ...... " ,WHITE,BLACK); for (mb=0;mb<=10;mb++) { SysCtlDelay (500*(20000000/3000)); //2 } TFTLCD_ShowString(30,160, " ........ " ,WHITE,BLACK); for (mb=0;mb<=10;mb++) { SysCtlDelay (500*(20000000/3000)); //2 } TFTLCD_FillBlock(0, 240, 0, 400, BLACK); TFTLCD_DrawHorizontalLine(120,150,220,GREEN); // 往下的按钮 TFTLCD_DrawHorizontalLine(120,150,250,GREEN); TFTLCD_DrawVerticalLine(220,250,120,GREEN); TFTLCD_DrawVerticalLine(220,250,150,GREEN); TFTLCD_ShowString(125,230, "N5" ,WHITE,BLACK); TFTLCD_DrawHorizontalLine(120,150,170,GREEN); // 中间按钮 TFTLCD_DrawHorizontalLine(120,150,200,GREEN); TFTLCD_DrawVerticalLine(170,200,120,GREEN); TFTLCD_DrawVerticalLine(170,200,150,GREEN); TFTLCD_ShowString(125,180, "N6" ,WHITE,BLACK);

收藏

分享

举报
下载此文档