#pragma once #include #include "PWM_Output.h" typedef struct{ bool enabled; float temperature; float Setpoint1; float Setpoint2; float fanPower1; float fanPower2; float hyst; }T_SENSOR; extern T_SENSOR tSensorSettings; extern TI_TMP102_Compatible *tSensor; void Init_TSensor(uint8_t addr); void UpdateFanControl(float temperature, PWM_Output* pwmOut);