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

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

于 2023-08-07 发布 文件大小:2.12 kB
0 86
下载积分: 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 个回复

  • C#+SQL sever图书管理系统源码(含数据库以及课程设计文档)
    C#+SQL sever图书管理系统源码(含数据库以及课程设计文档)
    2019-11-06下载
    积分:1
  • Hla_template
    说明:  HLA仿真程序模板,使用的RTI为pRTI 1.3.(HLA templates, the use of the RTI pRTI 1.3.)
    2020-10-29 11:09:56下载
    积分:1
  • sumimoSimulationConfig
    此源程序为MATLAB代码,是LTE平台链路级仿真中单用户MIMO的仿真设置(The source code for MATLAB is LTE link level simulation platform for single-user MIMO emulation settings)
    2014-11-17 22:10:24下载
    积分:1
  • Nokia-5110LCD-panel-data
    诺基亚5110LCD&PCD8544IC编程,包括Datasheet、驱动程序例子和应用等等。(Nokia 5110 LCD & PCD8544IC programming, including Datasheet, driver examples and application and so on.)
    2013-12-06 15:21:43下载
    积分:1
  • 2
    说明:  地球处理多边体的重磁异常的正演,主要是地球数据处理的课程的实验项目2(The forward modeling of gravity and magnetic anomalies in the earth s processing of the multilateral body is mainly the experimental project of the earth data processing course 2)
    2016-03-14 21:28:38下载
    积分:1
  • open nurbs library for curve part
    #包括";opennurbs.h";ON_VIRTUAL_OBJECT_IMPLEMENT(ON_Curve,ON_Geometry,";4ED7D4D7-E947-11d3-BFE5-0010830122F0";);ON_Curve::ON_Curve():ON_Geometry(){}ON_Curve::ON_Curve(const ON_Curve&src):ON_Geometry(src){}ON_Curve&;ON_Curve::operator=(const ON_Curve&src){if(this!=&;src){DestroyCurveTree(); ;ON_Geometry::operator=(src);}返回*this;}
    2022-11-07 11:50:03下载
    积分:1
  • XMLParser
    用来解析XML的库,基于XML4或则XML6的实现,简单易用(XMl Parser)
    2014-12-26 14:15:59下载
    积分:1
  • DECODIFICADOR-MATRICIAL-16F84A
    Program that simulates in C ++ with Proteus for a matrix decoder 16F84A
    2015-12-31 01:05:31下载
    积分:1
  • V9011jieshao
    万高科技的单相计量芯片,可以直接驱动液晶,到51内核,很好的计量芯片(Wan-tech single-phase metering chips that can directly drive an LCD, the 51 core, good metering chip)
    2015-01-23 10:55:21下载
    积分:1
  • CDVine_1.1-11.tar
    Vine copula for C vine和 D vine的估计等。(Vine copula for C vine and D vine.)
    2014-11-24 20:12:14下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载