Temperatur is read

This commit is contained in:
Ollo 2024-11-29 20:05:07 +01:00
parent e6b18d163d
commit b02724ae5d
2 changed files with 4 additions and 4 deletions

View File

@ -11,9 +11,9 @@
#ifndef FANLEDCTL_PINS
#define FANLEDCTL_PINS
#define FAN_PIN 12 /**< Output Pin, controlling FAN speed via PWM */
#define SIGNAL_PIN 13 /**< Input Pin, reading current FANs RPM*/
#define FAN_PIN D6 /**< Output Pin, controlling FAN speed via PWM */
#define SIGNAL_PIN D7 /**< Input Pin, reading current FANs RPM*/
#define GPIO_DS18B20 D7 /**< One-Wire used for Dallas temperature sensor */
#define GPIO_DS18B20 D2 /**< One-Wire used for Dallas temperature sensor */
#endif /* End FANLEDCTL_PINS */

View File

@ -4,7 +4,7 @@
#include "controller.h"
#define DELAY_TIME 10000 /**< time between measurements [ms] */
#define DELAY_TIME 1000 /**< time between measurements [ms] */
#define MIN_FAN_SPEED_PERCENT 24 /**< minimum fan speed [%] */
#define MIN_TEMP 25 /**< turn fan off below [deg C] */
#define MAX_TEMP 40 /**< turn fan to full speed above [deg C] */