Max31865 library for stm32 hal
This is the MAX31865 STM32 HAL Library
Based on https://github.com/adafruit/Adafruit_MAX31865
How to use this Library:
#include "Max31865.h"
Max31865_t pt100;
bool pt100isOK;
float pt100Temp;
int main()
{
Max31865_init(&pt100,&hspi3,SENSOR_CS1_GPIO_Port,SENSOR_CS1_Pin,4,50);
while(1)
{
float t;
pt100isOK = Max31865_readTempC(&pt100,&t);
pt100Temp = Max31865_Filter(t,pt100Temp,0.1); // << For Smoothing data
HAL_Delay(1000);
}
}