-
用户1296133
2008-5-12 09:55
-
1602左右移动
-
#include reg52.h #define uchar unsigned char #define uint unsigned int uchar code table =" WWW.SMAPS.COM !"; uchar code table2 =" WWW.SMAPS.COM !"; ...
-
-
用户1296133
2008-5-8 09:27
-
可预置的倒计时
-
带键盘设置的秒计时器 ;功能:倒计时的秒计时器,从59倒计到0,然后又从59开始倒计到0; ;各个键的功能 ;S1:开始运行 ;S2:停止运行 ;S3:高位加1,按一次,数 ...
-
-
用户1296133
2008-5-7 08:53
-
4*4
-
#include reg51.h unsigned char table ; } void keyscan(void) { unsigned char n; //扫描第一行 P1=0xef; n=P1; n=0x0f; if(n!=0x0f) { delay(); P1=0xe ...
-
-
用户1296133
2008-5-6 09:20
-
1602应用
-
#include reg52.h #include intrins.h #define uchar unsigned char #define uint unsigned int uchar code table ={"KEY-CODE: H"} ; sbit LCD_RS = P2^0; ...
-
-
用户1296133
2008-5-5 10:24
-
24c01应用
-
#include REG51.H #include intrins.H #define uchar unsigned char #define uint unsigned int uchar code SEG7 ={0xC0,0xF9,0xA4,0xB0,0 ...
-
关闭
站长推荐
/2