搜索结果
找到约 20 项符合
intrins 的查询结果
按分类筛选
单片机编程 采用18b20芯片的温度测量C51源程序
#include <reg51.h>#include<intrins.h>
#define&nbsp;&nbsp; BUSY1&nbsp;&nbsp;&nbsp; (DQ1==0) sbit&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DQ1&nbsp;&nbsp;&nbsp; =&nbsp; P0^4;
unsigned char idata TMP; unsigned char idata TMP_d; unsigned char f; void wr_ds18_1(char dat);unsigned char rd_ds18_1();
/*************** ...
单片机编程 C51单片机模拟I2C总线的C语言实现
EEPROM为ATMEL公司的AT24C01A。单片机为ATMEL公司的AT89C51。2.&nbsp;软件说明 C语言为Franklin C V3.2。将源程序另存为testi2c.c,用命令C51 testi2c.cL51 TESTI2C.OBJOHS51 TESTI2C编译,连接,得到TESTI2C.HEX文件,即可由编程器读入并进行写片,实验。3.源程序#include <reg51.h>#include <intrins.h> #define uchar u ...
单片机开发 W29C040(512K FLASH)读写程序2007-09-10 11:16很是激动
W29C040(512K FLASH)读写程序2007-09-10 11:16很是激动,去年用AT89S52捣弄了半年也没搞定,这次换成C8051f040,也不知道是天见我可怜还是狗运,终于把数据写进去了。想当时到处找的程序都没用,郁闷非常,这次走运成功,拿出来晒晒太阳(虽然也是该的别人的程序,但是好歹能用)。
/*W29C040(512K FLASH)读写程序*/
#incl ...
PCB图/BOM单/原理图 单片机课程设计
#include<reg52.h>&nbsp;
#include<intrins.h>
#define LED P0
sbit KEY0=P2^0; &nbsp;//定义按键输入端口 A &nbsp;&nbsp;
sbit KEY1=P2^1; &nbsp;//定义按键输入端口 B &nbsp;&nbsp;
sbit KEY2=P2^2; &nbsp;//定义按键输入端口 C
unsigned int Led_table[8]={0xfe,0xfc,0xf8,0xf0,0xe0,0xc0,0x80,0x00};
char Led_num=0 ...
嵌入式综合 红外遥控RGB
#include "STC90.h"
#include < intrins.h >
#define uchar unsigned char
#define uint unsigned int
#define led_port P1
sbit IR_RE = P3^2;
sbit led_r = P1^3;
sbit led_g = P1^4;
sbit led_b = P1^5;
sbit led_wd = P1^7;
sbit K1 =P3^0 ; //增加键
sbit K2 =P3^1 ; ...
源码 12345
/****************temic*********t5557***********************************/ &nbsp;&nbsp;
#include &nbsp; <at892051.h> &nbsp; &nbsp;
#include &nbsp; <string.h> &nbsp;&nbsp;
#include &nbsp; <intrins.h> &nbsp; &nbsp;
#include &nbsp; <stdio.h> &nbsp; &nbsp;
#define &nbsp; &nbsp;uchar &nbsp; &nbsp;unsign ...
技术资料 300个C51单片机设计proteus仿真源码软件源码: 100000秒以内的计时程序 10秒的秒表
300个C51单片机设计proteus仿真源码软件源码:100000秒以内的计时程序10秒的秒表12864LCD图形滚动演示128X64LED160128LCD图文演示1602字符液晶滚动演示程序1602液晶显示的DS1302实时时钟16×16点阵(滚动显示)16×16点阵2(滚动显示)2io5键盘模拟音量数码管显示2×20串行字符液晶演示32x16汉字44行列键盘485全双工通信4×4键盘 ...
技术资料 温度控制的PID算法的C语言程序.
#nclude<reg51.h>#include<intrins.h>#销nclude<math.h>#include<string.h>struct PID{unsigned int SetPoint;//设定目标 Desired Value unsigned int Proportion;//比例常数Proportional Const unsigned int integral;//积分常数Integral Const unsigned int Derivative://微分常数Derivative Const unsigned int LastE ...
VIP专区 VIP专区-嵌入式/单片机编程源码精选合集系列(141)
VIP专区-嵌入式/单片机编程源码精选合集系列(141)资源包含以下内容:1. zigbee zigbee zigbeezigb.2. C语言编写的单片机音乐程序.3. 嵌入式WEB服务器.4. 平移不变法用于消除图像变换产生的为吉布斯效应.5. 关于嵌入式的QT图形用户界面C GUI Programming with QT4书籍的配套源码.6. 这个MATLAB源代码是实现雷达仿真功能的M ...