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

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

于 2023-08-07 发布 文件大小:2.12 kB
0 76
下载积分: 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#制作的一个简单程序,具体实现具体如下:将文本框中的数据保存为*.txt文件,并实现再次读取功能...
    用C#制作的一个简单程序,具体实现具体如下:将文本框中的数据保存为*.txt文件,并实现再次读取功能-C# produced by a simple process, concrete realization as follows : the text box will save the data as*. txt documentation, and again read function
    2022-07-23 05:30:57下载
    积分:1
  • YUVviewer-source-code
    这是YUVviewer软件的源代码,读者可以用来学习播放器的编码细节。(This is YUVviewer software source code, the reader can be used to learn the details of the encoding of the player.)
    2012-10-18 19:44:00下载
    积分:1
  • 第五版课件及习题程序和学习辅导源码
    第五版课件及习题程序和学习辅导源码
    2022-01-27 20:17:14下载
    积分:1
  • GD32E10x_gujiankuyonghuzhinan_V1.0
    说明:  GD32E10x芯片固件库pdf,文中详细描述了该类芯片的固件函数使用方法(The firmware library PDF of GD32E10x chip is described in detail in this paper.)
    2020-06-22 15:00:01下载
    积分:1
  • 与打印相关的VC++打印例子
    打印的小例子,每个例子展现的功能不太一样,可以供打印开发的人参考。 打印的小例子,每个例子展现的功能不太一样,可以供打印开发的人参考。 打印的小例子,每个例子展现的功能不太一样,可以供打印开发的人参考。
    2023-03-27 21:50:04下载
    积分:1
  • sil9024.c
    说明:  里面sii9024驱动源代码,含寄存器和数据手册(Inside Sii9024 driver source code, including registers and data manuals)
    2021-01-08 14:08:52下载
    积分:1
  • oracleOCI
    ORACLE接口超过20个字干尼玛啊,傻逼论坛(oracle hand)
    2013-11-05 10:40:16下载
    积分:1
  • UdpClient
    用Visual C++编写的UDP客户端程序。(Using Visual C++ Prepared UDP client program.)
    2007-07-17 10:16:03下载
    积分:1
  • matlab12
    由于libsvm的matlab版本的工具箱libsvm-mat并没有给出寻参的函数模块,而无论利用libsvm工具箱进行分类还是回归,参数的选取是十分重要的,鉴于此libsvm-mat-2.89-3[FarutoUltimate3.0]在 libsvm-mat-2.89-3的基础上给出相应的辅助函数插件,方便用户来选取最佳的参数,现对该工具箱里主要的辅助函数插件的接口进行介绍。(As the matlab version of the toolbox libsvm libsvm-mat and did not give to find a function module parameters, regardless of classification using libsvm toolbox or regression, parameter selection is very important, in view of the libsvm-mat-2.89-3 [ FarutoUltimate3.0] in libsvm-mat-2.89-3 is given on the basis of the corresponding auxiliary function plugin user to select the best parameters, the toolbox is the main interface to plug the auxiliary functions are introduced.)
    2011-05-23 16:28:40下载
    积分:1
  • jywbt
    基于matlab GUI界面设计,ldpc码的编解码实现,D-S证据理论数据融合。( Based on matlab GUI interface design, Codec ldpc code implementation D-S evidence theory data fusion.)
    2017-06-01 16:24:58下载
    积分:1
  • 696518资源总数
  • 105958会员总数
  • 18今日下载