登录
首页 » C » 温度采集代码 基于89c51单片机

温度采集代码 基于89c51单片机

于 2023-08-07 发布 文件大小:2.12 kB
0 101
下载积分: 2 下载次数: 1

代码说明:

基于89C51单片机 温度采集代码#include #include /**************外部变量定义************************/int num=0,num1=0; int set_t=20;double set_ph=7.0;double set_tu=3.0;/**************变量定义***************************/unsigned char AD_CHANNEL;double PH=0.0,TU=0.0;xdata unsigned char disbuff[14]={0};unsigned char Tempbuff[9];double ADC_Voltage=0.0,ADC_Voltage1=0.0;void Set_TU_Display();void Set_PH_Display();void Set_Temp_Display();unsigned char temp_value; bit SET_flag=0;   //设定温度标志位int SET_Count=0;bit Warning_flag=0;sbit Beep =P2^3;sbit LED1 =P1^1;sbit LED2 =P1^2;sbit LED3 =P1^3;sbit LED4 =P1^4;void ReadTemp(void); void Delay_Beep(unsigned int i);/* * 函数名:Get_Voltage_Value * 描述  :获取ADC0809的转换电压值 

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 串口收发
    学习CC2530时对软件编写的模块化整理:串口收发(Modular finishing of software writing when learning CC2530: serial transceiver)
    2018-05-31 15:04:29下载
    积分:1
  • 中文分词切分,据统计是实现…
    分词,针对汉语的分词,根据统计来实现的,可以直接使用目录即可,里面针对联合早报进行的测试,分次统计中可以包括任意目录(系统能承受得了就行),这是帮一个同学做的作业:)用asp。net + xml-Segmentation for Chinese word segmentation, according to statistics to be achieved, direct access to the directory can be, which for Lianhe test, sub-sub-statistics can include arbitrary directory (the system can accept the deregulation on the line), which is to help a fellow student to do the operation:) with asp. net+ xml
    2022-02-02 16:43:12下载
    积分:1
  • qqrobot
    QQRobot是一个由C语言开发的QQ机器人。 用途:QQRobot主要用于实现 网站 和 QQ 之间的互动。让用户通过自己的QQ 实时接收来自网站的消息/内容,并且通过QQ向网站发布自己的内容。以此加强网站服务的实时性,和提高用户对网站的粘着度。(QQRobot is a C language development QQ robot. Uses: QQRobot mainly used to implement the interaction between sites and QQ. QQ users through their own real-time to receive information from the site/content, and through QQ own content to websites. In order to enhance real-time web services, and improve the user site adhesion.)
    2010-07-13 15:14:23下载
    积分:1
  • DataGridView basic operation of the whole of a single cell, rows, columns, data...
    DataGridView的操作基本全了,对单个cell,行,列,数据连接,极力推荐!-DataGridView basic operation of the whole of a single cell, rows, columns, data connectivity, highly recommended!
    2022-02-02 16:23:51下载
    积分:1
  • hack2
    黑客教程.含有端口扫描、IP欺骗、嗅探器、木马等的说明和例子( The hacker course. includes the port scanning, the IP deceit, the sniffer, the wooden horse and so on the explanation and the example )
    2020-06-26 11:20:01下载
    积分:1
  • wa814
    真的是一个好程序,LDPC码的完整的编译码,matlab编写的元胞自动机。( Really is a good program, Complete codec LDPC code, matlab prepared cellular automata.)
    2017-05-22 22:11:08下载
    积分:1
  • 傅里叶变换源码
    傅立叶变换能将满足一定条件的某个函数表示成三角函数(正弦和/或余弦函数)或者它们的积分的线性组合。本程序实现了图像的傅里叶离散变换变换,傅里叶变换部分使用了openCV的函数库。
    2023-07-28 18:45:02下载
    积分:1
  • splines5
    样条函数用于图像放大;可放大任意倍数;五次样条函数的构造 (five splines function)
    2011-07-08 16:00:48下载
    积分:1
  • x86 Code Virtualizer Src (C++)
    The best code virtualizer for x86 on winodws platform.
    2017-06-22 18:37:43下载
    积分:1
  • Panorama
    panorama图像生成,可视代码,包含C源代码,需要转gui(panorama image generation, visualization)
    2011-05-05 08:46:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载