搜索结果
找到约 66 项符合
uint 的查询结果
按分类筛选
技术资料 单片机GPS自动校时万年历全套设计资料
本设计由数据显示模块、温度采集模块、时间处理模块和调整设置模块四个模块组成。系统以AT89S52单片机为控制器,以串行时钟日历芯片DS1302记录日历和时间,它可以对年、月、日、时、分、秒进行计时,还具有闰年补偿等多种功能。温度采集选用DS18B20芯片,万年历采用直观的数字显示,数据显示采用1602A液晶显示模块,可以在L ...
技术资料 51单片机自动校时万年历设计
本设计由数据显示模块、温度采集模块、时间处理模块和调整设置模块四个模块组成。系统以AT89S52单片机为控制器,以串行时钟日历芯片DS1302记录日历和时间,它可以对年、月、日、时、分、秒进行计时,还具有闰年补偿等多种功能。温度采集选用DS18B20芯片,万年历采用直观的数字显示,数据显示采用1602A液晶显示模块,可以在L ...
技术资料 宏晶 STC15F2K60S2开发板配套软件源码 基础例程30例
宏晶 STC15F2K60S2开发板配套软件源码 基础例程30例/**********************基于STC15F2K60S2系列单片机C语言编程实现使用如下头文件,不用另外再包含"REG51.H"#include <STC15F2K60S2.h>***********************/#include "STC15F2K60S2.H"//#include "REG51.H"&nbsp;//sfr P4&nbsp; &nbsp;= 0xC0;#define&nbsp; uint unsi ...
嵌入式综合 调光C程序
/*#include<reg52.h>
#define uint unsigned int
#define uchar unsigned char
#define uchar unsigned char
sbit K1=P3^4;
sbit K2=P3^5;
sbit ledr=P1^0;
sbit ledg=P1^1;
sbit ledb=P1^2;
bit LEDDirection=0;//LED控制方向0:渐亮1:渐灭
char &nbsp;pwm=0;
char &nbsp;pwmr=0;
char &nbsp;scw=0;//中断记数
char &nbsp ...
源码 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 ...
单片机编程 LCD12864显示汉字和数字(程序和电路)
附件为:LCD12864显示汉字和数字的程序与电路
/*
&nbsp;自定义延时子函数
*/
void delayms(uchar z)
{
&nbsp; int x,y;
&nbsp; for(x=z;x>0;x--)
&nbsp;&nbsp;&nbsp;&nbsp; for(y=110;y>0;y--);
}
/*
&nbsp;&nbsp;&nbsp;&nbsp; 判断LCD忙信号状态
*/
void buys()
{
&nbsp; int dat;
&nbsp; RW=1;
&nbsp; ...