资源简介
MAX31865 STM32F103 TP100 基于MAX31865温度读取程序源码
代码片段和文件信息
#include “max31865.h“
#include “spi.h“
#include “delay.h“
#include “usart.h“
float Temperature;
#define SPI_OK 0
uint32_t TIMEOUT; //define SPI communication timeout
uint8_t Data_Buffer[8]; //define data storage
uint8_t MAX31865_Config = 0x00; //the value is MAX31865 configuration register
uint8_t MAX31855_Fault_Status; //the value is Fault Status register
uint8_t Operation_Fault; //define SPI status if =1 SPI error.
float AD_Value; //store the value of RTD MSB and RTD LSB register
//uint8_t RTD_HRTD_L;
float RTD_Resistor; //RTD resistor value based on RTD_MSB and RTD_LSB register
float RTD_Temperature; // Temperature value based on direct read out data
float Corrected_Temperat
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3598 2018-04-25 13:16 MAX31865\max31865.c
文件 506 2018-04-04 10:15 MAX31865\max31865.h
- 上一篇:save-ps-to-svg1.01.zip
- 下一篇:Linux系统ADB工具包
评论
共有 条评论