标题:
stc15f2k60s2时钟温度按键程序
[打印本页]
作者:
hanhhh
时间:
2018-10-27 14:19
标题:
stc15f2k60s2时钟温度按键程序
stc15f2k60s2时钟温度按键程序
单片机源程序如下:
#include "stc15f2k60s2.h"
#include "shumaguan.h"
#include "djs.h"
#include "leddeng.h"
#include "zhongduan.h"
#include "DS18B20.H"
#include "enjian.h"
void main()
{
P2 = ((P2&0X1F)|0xa0);
P0 = 0x00;
P2&=0x1f;
init();
while(1)
{
if(jm==1)
{
smgxs(ss,sg,10,fs,fg,10,ms,mg);
}
if(jm==2)
{
smgxs(13,13,13,13,wds,wdg,11,12);
}
if(jm==3)
{
led();
}
blfl();
ymzh();
naozhong();
wendu = ChangTemp_chabiao();
}
}
复制代码
所有资料51hei提供下载:
#温度,时钟,计时器,流水灯,按键.zip
(36.85 KB, 下载次数: 25)
2018-10-27 14:18 上传
点击文件名下载附件
stc15f2k60s2时钟温度按键程序
下载积分: 黑币 -5
作者:
admin
时间:
2018-11-1 16:02
补全原理图或者详细说明一下电路连接即可获得100+黑币
欢迎光临 (http://www.51hei.com/bbs/)
Powered by Discuz! X3.1