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

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

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

  • IO-.100MHz--Fast-IO
    armlpc2103.
    2011-03-06 10:15:09下载
    积分:1
  • CafeBillingSystem_C#
    说明:  Module of Cafe Management System
    2020-06-24 06:00:02下载
    积分:1
  • a
    说明:  进程死锁.资源分配图的绘制 建立所需数据结构;  使用题目21存成的资源分配图的文件作为输入;  编写资源分配图化简算法;  每化简一步,在屏幕上显示化简的当前结果;  最后给出结论,是否死锁,如思索给出死锁的进程及资源; (Process deadlock. Resource allocation mapping  establish the required data structures  Use title 21 deposit into resource allocation graph file as input  writing resource allocation map simplification algorithm  Each simplification step, on-screen display simplification of the current result  Finally, the conclusion of a deadlock, deadlock is given as thinking processes and resources )
    2013-07-04 19:50:58下载
    积分:1
  • SHA204_90USB1287
    ATSHA204 主要特性: 1,SHA-256 Hash算法 2,有保证的唯一的72-bit序列号; DS28CN01 64-bit 不仅有软件加密,内部还有高质量硬件加密。 3,16个槽口的4kbits EEPROM: 4Kbits / 8 = 512Bytes 每个槽口32bytes 4,I2C接口, 单线接口 5, 和Atmel AT88SA102S,AT88SA10HS 6, i2c 地址默认为0xc8; 还可以configuration zone改变地址。(CryptoAuthentication Device Family Atmel offers the industry s widest selection of hardware authentication and encryption devices. The portfolio is currently comprised of three parts with several others under development. Our CryptoAuthentication devices provide confirmation that hardware and software products are real, which is what authentication is all about. The devices are extremely cost-effective and come in exceptionally small packages.)
    2014-10-27 21:10:50下载
    积分:1
  • fai_v31
    小波包分析提取振动信号中的特征频率,计算互信息非常有用的一组程序,进行逐步线性回归。( Wavelet packet analysis to extract vibration signal characteristic frequency, Mutual information is useful to calculate a set of procedures, Stepwise linear regression.)
    2017-05-10 23:13:56下载
    积分:1
  • FreeIM_acc_gyr_fusion_ads
    ADS环境下开发的惯性导航工程,FREEIMU算法,实现姿态实时求解,三星2440芯片,MPU6050传感器组,上电可运行(ADS development environment inertial navigation project, FREEIMU algorithm to achieve real-time solving attitude, Samsung 2440 chip, MPU6050 sensors, power can be run)
    2013-08-31 20:59:34下载
    积分:1
  • ASC 盈利王外汇指标交易系统【高级会员】
    ASC 盈利王外汇指标交易系统【高级会员】,使用平台MT4(ASC Profit King Foreign Exchange Index Trading System [Senior Members])
    2019-06-04 03:27:08下载
    积分:1
  • This a project that helps in probing about system resources while a function is...
    This a project that helps in probing about system resources while a function is executed.-This is a project that helps in probing about system resources while a function is executed.
    2022-03-17 21:41:33下载
    积分:1
  • 我的作業代碼
    我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了我們老師的作業,不知道要寫啥了
    2022-07-14 23:48:24下载
    积分:1
  • 9682767
    C语言如何使用函数中的局部变量,仅供学习与参考(How to use C language function of the local variable, is only for study and reference)
    2017-08-19 14:31:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载