www.vibexie.com vibexie@qq.com
发布时间:2014-09-26 21:35:29
点击(此处)折叠或打开#include#include#include#include#include#define uchar unsigned char#define uint unsigned int.........【阅读全文】
发布时间:2014-09-23 00:43:19
点击(此处)折叠或打开#include<reg52.h>#include<intrins.h>#include<stdlib.h>#define uchar unsigned char#define uint unsigned intsbit lcden=P3^4;sbit lcdrs=P3^5;.........【阅读全文】
发布时间:2014-09-22 21:38:17
点击(此处)折叠或打开#include#define uchar unsigned char#define uint unsigned intuchar code table1[]="I love you!";uchar code table2[]="Xiao Guai";sbit lcden=.........【阅读全文】
发布时间:2014-06-10 19:29:27
点击(此处)折叠或打开#include#define uchar unsigned char#define uint unsigned intsbit dula=P2^6;sbit wela=P2^7;sbit key1=P3^4;sbit key2=P3^5;sbit.........【阅读全文】
发布时间:2014-06-05 15:28:33
点击(此处)折叠或打开#include<reg52.h>#define uchar unsigned charsbit dula=P2^6;sbit wela=P2^7;sbit dianji=P1^7;sbit jia_key=P3^6;sbit jian_key=P3^7;uchar.........【阅读全文】
发布时间:2014-05-18 12:26:11
点击(此处)折叠或打开#includeunsigned char a,flag;void main(){ TMOD=0x20; TH1=0xfd; TL1=0xfd; &nb.........【阅读全文】
发布时间:2014-04-27 12:19:39
点击(此处)折叠或打开//按下4X4键盘在数码管上依次显示0-F#include<reg52.h>#define uchar unsigned char#define uint unsigned intsbit dul.........【阅读全文】
发布时间:2014-04-27 11:15:32
点击(此处)折叠或打开//按下4X4键盘在数码管上依次显示0-F#include<reg52.h>#define uchar unsigned char#define uint unsigned intsbit d.........【阅读全文】
发布时间:2014-04-24 10:59:51
点击(此处)折叠或打开//用数码管的前两位显示一个十进制数,变化范围为00-59,开始时显示00,每按下S2键一次,数值加1,每按下S3,数值减1,每按下S4,数值归零,每按下S5//功能开始自动加1,再次按下S5,数值停止自动加1,保持显示原数。#include<re.........【阅读全文】
发布时间:2014-03-30 01:29:30
点击(此处)折叠或打开#include<reg52.h>#define uchar unsigned char#define uint unsigned intsbit dula=P2^6;sbit wela=P2^7;uchar code table[]={0x3f,0x06,0x5b,0x4f,0x66,0x.........【阅读全文】
发布时间:2014-03-29 12:27:05
点击(此处)折叠或打开#include<reg52.h>#define uint unsigned intuint num=0;int main(){ P1=0x00; TMOD=0x01;//set the timer .........【阅读全文】
发布时间:2014-03-14 22:30:46
long 类型点击(此处)折叠或打开void delay_1s(){ long i=0; while(i......【阅读全文】