freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于單片機(jī)的射擊游戲-資料下載頁(yè)

2025-06-27 19:39本頁(yè)面
  

【正文】 rget_y=0。uchar Pre_Target_y = 0。uchar gun_y = 20。void delay(uint ms){ uchar i。 while (ms)for(i=0。i120。i++)。}void EX_INT0() interrupt 0{ if(K1==0) { if(gun_y !=0)Display_Str_at_xy(16*8,gun_y, ,0)。 gun_y =8。 if(gun_y 20)gun_y = 20。 Draw_Image(Gun_Image,gun_y,16)。 } else if(K2==0) { if(gun_y !=0) Display_Str_at_xy(16*8,gun_y, ,0)。 gun_y +=8。 if(gun_y100) gun_y = 100。 Draw_Image(Gun_Image,gun_y,16)。 } else if(K3==0) { if(Bullet_Count !=0) TR1=1。else return。//彈道繪制// Line(10, gun_y +4,125,gun_y +4,1)。 delay(150)。 Line(10, gun_y +4,125,gun_y +4,0)。 if(Bullet_Count !=0) { Bullet_Count。 if((gun_y +4) Target_y amp。amp。 (gun_y +4)Target_y +11 amp。amp。Pre_Target_y !=Target_y) { Score++。 Pre_Target_y = Target_y。 } } Show_Score_and_Bullet()。 } else if(K4==0) { Score = 0。Bullet_Count = 20。 Show_Score_and_Bullet()。 }}void T0_INT() interrupt 1 { TH0 = 50000/256。 TL0 = 50000%256。 if(++tCount !=70) return。 tCount = 0。 if(Target_x!=0 amp。amp。 Target_y!=0) Display_Str_at_xy(Target_x,Target_y, ,0)。 Target_x = rand() %60 +8。 Target_y = rand() %80+20。 while ( abs(Pre_Target_y Target_y ) 4) Target_y =rand() % 80 + 20。 Display_Str_at_xy(Target_x,Target_y,■,0)。}void T1_INT () interrupt 3{ BEEP = ~BEEP。 if(LCount !=0 ) { TH1 =HCount。TL1 = LCount。 } else if(HCount !=0xFB) { TH1 = HCount。TL1 = LCount。 } else { TH1 = HCount = 420 / 256。 TL1 = LCount = 420 % 256。 BEEP = 1。 TR1 = 0。 }}void Show_Score_and_Bullet()reentrant{ char dat_str[4] = {39。 39。,0,0,0}。 dat_str[1] = Score / 10+ 39。039。 dat_str[2] = Score % 10+ 39。039。 Display_Str_at_xy(37,117,dat_str,1)。 dat_str[1] = Bullet_Count / 10+ 39。039。 dat_str[2] = Bullet_Count % 10+ 39。039。 Display_Str_at_xy(134,117,dat_str,1)。}void main(){ RESET=0。 RESET=1。 LCD_Initialise()。 cls()。 Set_LCD_POS(0,0)。//顯示游戲封面// Draw_Image(Game_Surface,6,0)。 delay(5000)。 cls()。 Display_Str_at_xy(12,1,★★ 射擊訓(xùn)練游戲 ★★,1)。 Display_Str_at_xy(2,117,得分,0)。 Display_Str_at_xy(75,117,剩余彈藥:,0)。 Show_Score_and_Bullet()。 Line (0,18,159,18,1)。 Line (159,18,159,112,1)。 Line (159,112,0,112,1)。 Line (0,112,0,18,1)。 Draw_Image(Gun_Image,gun_y,16)。 IE = 0x8B。 IP = 0x01。 IT0 = 0x01。 TMOD = 0x11。 TH0 = 50000/256。 TL0 = 50000%256。 TH1 = HCount = 420/256。 TL1 = LCount = 420%256。 TR0 = 1。 while (1)。}////LCD_160128的C文件,內(nèi)含控制函數(shù)//include include include include include include include define ASC_CHR_WIDTH 8define ASC_CHR_HEIGHT 12define HZ_CHR_HEIGHT 12define HZ_CHR_WIDTH 12uchar code LCD_WIDTH = 20。uchar code LCD_HEIGHT = 128。uchar code ASC_MSK[96*12]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,// 39。 39。0x00,0x30,0x78,0x78,0x78,0x30,0x30,0x00,0x30,0x30,0x00,0x00,// 39。!39。0x00,0x66,0x66,0x66,0x24,0x00,0x00,0x00,0x00,0x00,0x00,0x00,// 39。39。0x00,0x6c,0x6c,0xfe,0x6c,0x6c,0x6c,0xfe,0x6c,0x6c,0x00,0x00,// 39。39。0x30,0x30,0x7c,0xc0,0xc0,0x78,0x0c,0x0c,0xf8,0x30,0x30,0x00,// 39。$39。0x00,0x00,0x00,0xc4,0xcc,0x18,0x30,0x60,0xcc,0x8c,0x00,0x00,// 39。%39。0x00,0x70,0xd8,0xd8,0x70,0xfa,0xde,0xcc,0xdc,0x76,0x00,0x00,// 39。amp。39。0x00,0x30,0x30,0x30,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,// 39。39。39。0x00,0x0c,0x18,0x30,0x60,0x60,0x60,0x30,0x18,0x0c,0x00,0x00,// 39。(39。0x00,0x60,0x30,0x18,0x0c,0x0c,0x0c,0x18,0x30,0x60,0x00,0x00,// 39。)39。0x00,0x00,0x00,0x66,0x3c,0xff,0x3c,0x66,0x00,0x00,0x00,0x00,// 39。*39。0x00,0x00,0x00,0x18,0x18,0x7e,0x18,0x18,0x00,0x00,0x00,0x00,// 39。+39。0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x38,0x60,0x00,// 39。,39。0x00,0x00,0x00,0x00,0x00,0xfe,0x00,0x00,0x00,0x00,0x00,0x00,// 39。39。0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x38,0x00,0x00,// 39。.39。0x00,0x00,0x02,0x06,0x0c,0x18,0x30,0x60,0xc0,0x80,0x00,0x00,// 39。/39。0x00,0x7c,0xc6,0xce,0xde,0xd6,0xf6,0xe6,0xc6,0x7c,0x00,0x00,// 39。039。0x00,0x10,0x30,0xf0,0x30,0x30,0x30,0x30,0x30,0xfc,0x00,0x00,// 39。139。0x00,0x78,0xcc,0xcc,0x0c,0x18,0x30,0x60,0xcc,0xfc,0x00,0x00,// 39。239。0x00,0x78,0xcc,0x0c,0x0c,0x38,0x0c,0x0c,0xcc,0x78,0x00,0x00,// 39。339。0x00,0x0c,0x1c,0x3c,0x6c,0xcc,0xfe,0x0c,0x0c,0x1e,0x00,0x00,// 39。439。0x00,0xfc,0xc0,0xc0,0xc0,0xf8,0x0c,0x0c,0xcc,0x78,0x00,0x00,// 39。539。0x00,0x38,0x60,0xc0,0xc0,0xf8,0xcc,0xcc,0xcc,0x78,0x00,0x00,// 39。639。0x00,0xfe,0xc6,0xc6,0x06,0x0c,0x18,0x30,0x30,0x30,0x00,0x00,// 39。739。0x00,0x78,0xcc,0xcc,0xec,0x78,0xdc,0xcc,0xcc,0x78,0x00,0x00,// 39。839。0x00,0x78,0xcc,0xcc,0xcc,0x7c,0x18,0x18,0x30,0x70,0x00,0x00,// 39。939。0x00,0x00,0x00,0x38,0x38,0x00,0x00,0x38,0x38,0x00,0x00,0x00,// 39。:39。0x00,0x00,0x00,0x38,0x38,0x00,0x00,0x38,0x38,0x18,0x30,0x00,// 39。39。0x00,0x0c,0x18,0x30,0x60,0xc0,0x60,0x30,0x18,0x0c,0x00,0x00,// 39。39。0x00,0x00,0x00,0x00,0x7e,0x00,0x7e,0x00,0x00,0x00,0x00,0x00,// 39。=39。0x00,0x60,0x30,0x18,0x0c,0x06,0x0c,0x18,0x30,0x60,0x00,0x00,// 39。39。0x00,0x78,0xcc,0x0c,0x18,0x30,0x30,0x00,0x30,0x30,0x00,0x00,// 39。?39。0x00,0x7c,0xc6,0xc6,0xde,0xde,0xde,0xc0,0xc0,0x7c,0x00,0x00,// 39。@39。0x00,0x30,0x78,0xcc,0xcc,0xcc,0xfc,0xcc,0xcc,0xcc,0x00,0x00,// 39。A39。0x00,0xfc,0x66,0x66,0x66,0x7c,0x66,0x66,0x66,0xfc,0x00,0x00,// 39。B39。0x00,0x3c,0x66,0xc6,0xc0,0xc0,0xc0,0xc6,0x66,0x3c,0x00,0x00,// 39。C39。0x00,0xf8,0x6c,0x66,0x66,0x66,0x66,0x66,0x6c,0xf8,0x00,0x00,// 39。D39。0x00,0xfe,0x62,0x60,0x64,0x7c,0x64,0x60,0x62,0xfe,0x00,0x00,// 39。E39。0x00,0xfe,0x66,0x62,0x64,0x7c,0x64,0x60,0x60,0xf0,0x00,0x00,// 39。F39。0x00,0x3c,0x66,0xc6,0xc0,0xc0,0xce,0xc6,0x66,0x3e,0x00,0x00,// 39。G39。0x00,0xcc,0xcc,0xcc,0xcc,0xfc,0xcc,0xcc,0xcc,0xcc,0x00,0x00,// 39。H39。0x00,0x78,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x78,0x00,0x00,// 39。I39。0x00,0x1e,0x0c,0x0c,0x0c,0x0c,0xcc,0xcc,0xcc,0x78,0x00,0x0
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1