Temperatur is read
This commit is contained in:
parent
e6b18d163d
commit
b02724ae5d
@ -11,9 +11,9 @@
|
|||||||
#ifndef FANLEDCTL_PINS
|
#ifndef FANLEDCTL_PINS
|
||||||
#define FANLEDCTL_PINS
|
#define FANLEDCTL_PINS
|
||||||
|
|
||||||
#define FAN_PIN 12 /**< Output Pin, controlling FAN speed via PWM */
|
#define FAN_PIN D6 /**< Output Pin, controlling FAN speed via PWM */
|
||||||
#define SIGNAL_PIN 13 /**< Input Pin, reading current FANs RPM*/
|
#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 */
|
#endif /* End FANLEDCTL_PINS */
|
@ -4,7 +4,7 @@
|
|||||||
#include "controller.h"
|
#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_FAN_SPEED_PERCENT 24 /**< minimum fan speed [%] */
|
||||||
#define MIN_TEMP 25 /**< turn fan off below [deg C] */
|
#define MIN_TEMP 25 /**< turn fan off below [deg C] */
|
||||||
#define MAX_TEMP 40 /**< turn fan to full speed above [deg C] */
|
#define MAX_TEMP 40 /**< turn fan to full speed above [deg C] */
|
||||||
|
Loading…
Reference in New Issue
Block a user