搜索结果

找到约 903 项符合 stRing-include 的查询结果

单片机编程 PCA9555 16bit I2C-bus and SMBu

The PCA9555 is a 24-pin CMOS device that provides 16 bits of General Purpose parallelInput/Output (GPIO) expansion for I2C-bus/SMBus applications and was developed toenhance the NXP Semiconductors family of I2C-bus I/O expanders. The improvementsinclude higher drive capability, 5 V I/O tolerance, lo ...
https://www.eeworm.com/dl/502/31013.html
下载: 90
查看: 1147

单片机编程 可编程自动控制控制跑马灯

这一颗,我们学习如何让跑马灯自动按照我们预定的顺序进行。这种控制在工控场合经常用到。这个程序里,我们预先定义了一个变化的顺序speedcode,每跑一圈灯就根据预定设置的表格数据来决定下一圈的跑马速度。这样我们就实现了按照预定的顺序自动变化运行。请看代码:-----------------------------------#define uchar unsi ...
https://www.eeworm.com/dl/502/31244.html
下载: 185
查看: 1125

单片机编程 数字钟显示电路

SHUZIZHONG显示电路 源程序如下: #include <reg51.h>#include <intrins.h> unsigned char data dis_digit; unsigned char code dis_code[]={ 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71};unsigned char data dis_buf[16];unsigned char data dis_index;char hour,min,sec,wang,yea ...
https://www.eeworm.com/dl/502/31330.html
下载: 174
查看: 1045

单片机编程 MPC106 PCI Bridge/Memory Contr

In this document, the term Ô60xÕ is used to denote a 32-bit microprocessor from the PowerPC architecture family that conforms to the bus interface of the PowerPC 601ª, PowerPC 603ª, or PowerPC 604 microprocessors. Note that this does not include the PowerPC 602ª microproc ...
https://www.eeworm.com/dl/502/31368.html
下载: 58
查看: 1066

单片机编程 DS1302+AT89S52+LED时钟程序(C语言源代码+

#include<reg51.h>/*************************ds1302与at89s52引脚连接********************/sbit T_RST=P3^5; sbit T_CLK=P3^6;                 sbit T_IO=P3^7;           &n ...
https://www.eeworm.com/dl/502/31446.html
下载: 109
查看: 1071

单片机编程 串行编程器源程序(Keil C语言)

串行编程器源程序(Keil C语言)//FID=01:AT89C2051系列编程器//实现编程的读,写,擦等细节//AT89C2051的特殊处:给XTAL一个脉冲,地址计数加1;P1的引脚排列与AT89C51相反,需要用函数转换#include <e51pro.h> #define C2051_P3_7 P1_0#define C2051_P1 P0//注意引脚排列相反#define C2051_P3_0  P1_1#define ...
https://www.eeworm.com/dl/502/31453.html
下载: 195
查看: 1045

单片机编程 用C51写的普通拼音输入法源程序代码

用C51写的普通拼音输入法源程序代码:原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。  因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的.编译结果约为3000 ...
https://www.eeworm.com/dl/502/31454.html
下载: 191
查看: 1112

单片机编程 采用18b20芯片的温度测量C51源程序

#include <reg51.h>#include<intrins.h> #define   BUSY1    (DQ1==0) sbit      DQ1    =  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(); /*************** ...
https://www.eeworm.com/dl/502/31456.html
下载: 137
查看: 1036

单片机编程 24c01a的读写程序

#include <at24c01a.h>/*************************************************向24C01A写入一个字节输入:E2ROM地址,字节数据******************************************************/void write24c01a(uchar uadd_1,uchar udata_1){sendbyte=0xa0;start();send(sendbyte);if (!ack())continue;send(uadd_1);if (!ack())con ...
https://www.eeworm.com/dl/502/31457.html
下载: 103
查看: 1023

单片机编程 RD系列微型打印机打印实例

C51控制并口打印机实例:/* 沈阳新荣达电子 *//* 2004-12-7 */#include <reg52.h>#define uchar unsigned char#define uint unsigned int#define data_8 P0sbit BUSY = P1^2; //打印机 BUSY 接P1.2sbit STB = P1^0; //打印机 STB 接P1.0void print(uchar j) //打印子程序{ uchar i;while(BUSY){}; //BUSY=1,打印机忙,等待 ...
https://www.eeworm.com/dl/502/31503.html
下载: 155
查看: 1057