搜索资源列表
newHD7279
- #include <reg51.h> /*-------------------------------------------- 调用方式:自行I/O 口定义﹫2001/05/12 函数说明:私有函数,各接口定义 --------------------------------------------*/ sbit HD7279_CS=P1^4 // HD7279_CS--P1.4 sbit HD7279_CLK=P1^5 // HD7279_CLK--
200080319
- 简单易学的串口通讯.#include <reg51.h>
lcd1602
- sbit DS1302_CLK = P3^4 //实时时钟 线引脚 sbit DS1302_IO = P3^3 //实时时钟数据线引脚 sbit DS1302_RST = P3^5 //实时时钟复位线引脚-#include <REG51.H> #include <intrins.h> //#include "LCD1602.h" //#include "DS1302.h" #define uint unsigned int #defi
74ls164LED
- #include<reg51.h> sbit CLKY=P0^1 sbit DATAY=P0^0 sbit CLKX=P0^3 sbit DATAX=P0^2 void delay(unsigned char t) void LED_Y(unsigned char num1) void LED_X(unsigned char num2) void show(unsigned char x,unsigned y) -#include&
1602_Diver
- #include<reg51.h> #include<intrins.h> #define uchar unsigned char #define uint unsigned int #define busy 0x80 #define DATAPORT P1 //数据端口 sbit RS=P3^5 sbit RW=P3^6 sbit ENABLE=P3^7 code char example[]="Waitting for yo
ds18b20
- #include<reg51.h> #include<absacc.h> #include<stdio.h> #include<math.h> #define uchar unsigned char #define uint unsigned int sbit P00=P0^0 sbit P01=P0^1 sbit P02=P0^2 sbit P03=P0^3 sbit P04=P0^4 sbi
CD3315_Diver
- #include<reg51.h> #include<intrins.h> sbit P20=P2^0 sbit P24=P2^4 sbit P25=P2^5 sbit P26=P2^6 sbit P27=P2^7 sbit dat=P1^0 //数据输入端 sbit sck=P1^1 //始终端 sbit led=P1^7 sbit led1=P1^6 unsigned char temp[6] /
reg51
- 8051 IO.H File For C++ Programing
wenduji
- 温度计量以单片机为主控器设计一个数字温度计,用于温度的测量和显示。用A/D转换器,将模拟信号物理量(温度值)转换为二进制数值。-#include<reg51.h> //包含单片机寄存器的头文件 #include<intrins.h> //包含_nop_()函数定义的头文件 #include <absacc.h> #include <math.h>
DHT11
- DHT11温湿度传感器显示程序(STC12LE5608AD)(#include<reg51.h> #include<intrins.h> typedef unsigned char BYTE;)