-
8x8snake
while(1)
{//if(keyenable==1){P1=0x00 P2=0xff }else{P1=0xff P2=0x00 }
for(i=3 i<SNAKE+1 i++)x[i]=100 for(i=3 i<SNAKE+1 i++)y[i]=100 //初始化
x[0]=4 y[0]=4 //果子
n=3 //蛇长 n=-1
x[1]=1 y[1]=0 //蛇头
x[2]=0 y[2]=0 //蛇尾1
addx=0 addy=0 //位移偏移
//k=1
while(1){if(keyenable)break timer0(1) }
while(1)
{timer0(e)
if(knock()){e=SPEED break } //判断碰撞
if((x[0]==x[1]+addx)&(y[0]==y[1]+addy)) //是否吃东西
- 2011-07-09 23:00:46下载
- 积分:1
-
NINE
Matlab教程第七章案例,面板数据分析、计量(Matlab Guide Chapter VII of the case, panel data analysis, measurement)
- 2013-07-20 10:06:26下载
- 积分:1
-
uart1
STC51的串口程序,通过STC51工具连接电脑可以用串口助手模拟(STC51 UART)
- 2015-11-03 14:25:00下载
- 积分:1
-
P系列芯片调试工具
说明: P系列摄像机芯片调试工具,有需要的朋友可以下载(P series camera chip debugging tools, friends in need can download)
- 2020-06-19 05:40:01下载
- 积分:1
-
1-5V转4-20mA
标准接口1-5V转换成4-20mA程序,应用于标准传感器接入(Standard Interface 1-5V Converting 4-20mA Program for Standard Sensor Access)
- 2020-06-22 13:40:02下载
- 积分:1
-
423563
坐标转换,大地坐标经纬度转空间直角坐标的正反算。基于C#,(Coordinate transformation, geodetic latitude and longitude coordinates of the rectangular space, positive and negative transfer count. Based on C#,)
- 2011-07-20 10:43:30下载
- 积分:1
-
17213013942
c++学习笔记.(c study notes .111 111 111 111 111 1111111111111111111111111111111111111111 )
- 2007-05-19 02:41:35下载
- 积分:1
-
CSharpAforgeCamera
利用Aforge控件调用摄像头,稳定,流畅,不卡顿,可调用多个摄像头,自由扩展。(Aforge control calls using the camera, stable, smooth, no Caton, you can call multiple cameras, the expansion of freedom.)
- 2021-03-26 18:29:14下载
- 积分:1
-
New_test1
the example source code for the pmw generate signal
- 2010-02-25 20:13:25下载
- 积分:1
-
c_list
c语言链表,需要的时候可以方便大家使用,仅供参考(c language, and when required, we can easily use for reference purposes only)
- 2007-02-26 10:33:04下载
- 积分:1