-
51单片机俄罗斯方块源代码
# include
# include
# define N 4
# define time 500
# define uchar unsigned char
sbit keyenable=P3^6;
sbit up=P3^2;
sbit down=P3^4;
sbit right=P3^3;
sbit left=P3^1;
uchar code table[N+8]={0,0,0,0,1,2,4,8,16,32,64,128};
char x[4];
char y[4];
char m[8][8]={0};
uchar p[8];
int n=0;
/**************
延时函数
***************/
void delay(char MS)
{
char us,usn;
while(MS!=0)
{
usn = 0;
while(usn!=0)
{
us=0xff;
while (us!=0){us--;};
usn--;
}
MS--;
}
}
/***************
判断是否碰撞函数
**************/
bit coll(void)
{
bit k=0;
int i;
for(i=0;i
- 2023-01-11 14:50:04下载
- 积分:1
-
DevDivMixed
Windows Phone 8界面调用一般DLL,非Runtime Component的例子(Windows Phone 8 interface called examples general DLL, a non Runtime Component)
- 2014-03-29 17:33:41下载
- 积分:1
-
async_scanner_test_C_Sharp_Demo
windows mobile 6.5 系统PDA扫描演示程序(windows mobile 6.5 scanner)
- 2013-10-30 20:11:19下载
- 积分:1
-
質因素分解
可以對很大的數進行質因素分解 效率可以比較高
- 2022-01-22 04:38:11下载
- 积分:1
-
跑马灯
跑马灯是一种电脑编程工具,利用涂鸦等效果显示文字。电脑中的跑马灯,跑马灯在编程中,通常指有时需要用一矩形条显示少量用户特别关心的信息,这条信息串首尾相连,向一个方向循环滚动。(The marquee is a computer programming tool that uses text such as graffiti to display text. In the computer, the marquee and the marquee are usually programmed to display a small amount of information that the user is particularly concerned with. This string of information is connected end to end and scrolls in one direction.)
- 2019-06-30 09:39:45下载
- 积分:1
-
MB95F698K template project
MB95F698K模板项目,用于Cypress/Fujitsu 8FX MCU
- 2022-05-30 19:03:27下载
- 积分:1
-
将INI转换为XML的C#源代码
将INI转换为XML的C#源代码-to convert C# XML source code
- 2022-09-22 17:05:03下载
- 积分:1
-
wzq
五子棋小程序,实现双人对抗,能完成悔棋,复盘,等基本功能。在玩棋时,能自动判禁手以及判赢。(Gobang small procedures, to achieve double confrontation, to complete悔棋, rehabilitation sites, such as basic features. Playing chess, they can automatically cut the hands and sub-contractors to win.)
- 2008-06-26 21:47:09下载
- 积分:1
-
ProjectOne_V0
关于用瑞萨单片机使用无线模块的CC1101的源代码。大家交流一下(On the use of Renesas MCU CC1101 wireless module' s source code. We exchange)
- 2013-08-20 16:25:50下载
- 积分:1
-
C# finally
- 2023-05-24 15:25:03下载
- 积分:1