-
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
-
Desktop
第十四届恩智浦智能汽车竞赛信标组openmv阳光算法,只检查动态闪烁的信标灯。(Openmv sunshine algorithm of beacon group in the 14th Enzhipu Intelligent Vehicle Competition only checks dynamic flashing beacon lights.)
- 2020-06-21 12:40:01下载
- 积分:1
-
LED_CUBE-master
说明: led cub Project to activate account
- 2020-06-20 14:00:02下载
- 积分:1
-
CAN_DSP28335
说明: 控制器局域网总线(CAN,Controller Area Network)是一种用于实时应用的串行通讯协议总线,它可以使用双绞线来传输信号,是世界上应用最广泛的现场总线之一。CAN协议用于汽车中各种不同元件之间的通信,以此取代昂贵而笨重的配电线束。该协议的健壮性使其用途延伸到其他自动化和工业应用。CAN协议的特性包括完整性的串行数据通讯、提供实时支持、传输速率高达1Mb/s、同时具有11位的寻址以及检错能力。(Controller area network bus (CAN Controller, Area Network) is a serial communication protocol for real-time application of the bus, it can use a twisted pair to transmit the signal, is the world's one of the most widely used field bus. The CAN protocol is used to communicate between different components of an automobile to replace the expensive and bulky wiring harness. The robustness of the protocol extends its use to other automation and industrial applications. The characteristics of CAN protocol include serial data communication, integrity to provide real-time support, the transmission rate of up to 1Mb/s, also has 11 bit addressing and error detection capability.)
- 2017-06-24 17:08:47下载
- 积分:1
-
NVIDIA_CUDA_Programming_Guide_2.3
说明: C for CUDA 是Nvidia公司开发的为GPGPU而准备的工具,这是他的编程指南,为初学者准备.(C for CUDA is Nvidia developed the tools prepared for the GPGPU, it is his programming guide for beginners)
- 2010-04-25 02:06:11下载
- 积分:1
-
M5310
说明: 中国移动物联网NB-IOT模块m5310的pcb封装,现成的,直接用(China Mobile NB module m5310 pcb package)
- 2019-01-11 16:20:25下载
- 积分:1
-
Multiple-18b20-
利用单片机控制多个18b20,并将温度显示在1602 LCD上面(SCM control multiple 18b20, and in 1602 LCD temperature display above)
- 2014-05-27 14:20:30下载
- 积分:1
-
NRF24L01
NRF24L01+模块发射程序,80c52程序,有经过调试(Module launch program)
- 2014-02-27 21:07:12下载
- 积分:1
-
nsl-kdd-cup
nsl- kdd cup Dataset- Test & Train
- 2020-06-26 18:00:02下载
- 积分:1
-
Photosensitive-resistance-test
利用adc,将光敏电阻的值数字化,并显示在数码管上(Use adc, the photosensitive resistor values digitized and displayed on a digital)
- 2014-05-27 14:15:19下载
- 积分:1