搜索结果
找到约 22 项符合
0xfd 的查询结果
按分类筛选
源码 矩阵式键盘
include<reg52.h>
#define uint unsigned int
#define uchar unsigned char
uint temp,aa,wang,qian,bai,shi,ge;
sbit dula=P2^6;
sbit wela=P2^7;
uchar code table[]={
0x3f,0x06,0x5b,0x4f,
0x66,0x6d,0x7d,0x07,
0x7f,0x6f,0x77,0x7c,
0x39,0x5e,0x79,0x71};
void display( uint wa ...
技术资料 AT89C51单片机编写的C代码,用proteus设计电路仿真案例
采用C代码编写的8位LED流水灯程序,附件是用PROTEUS设计的仿真电路工程,直接可以使用。请用Proteus 8以上版本。下面是验证好的源代码,供大家参考学习:------------------------------------------#include <reg51.h>void main(){LED;t0,t1,t2,t3,t4,t5,t6,t7;LED=P1;P1=0xFF;while(10){P1=0xFE;for(t0=10;t0<25000;t0++) ...