its a string

This commit is contained in:
2020-05-24 16:18:30 +02:00
parent 9bf6e75d8d
commit 95898f3b48

View File

@@ -8,12 +8,12 @@ import time
import sys
# Configuration
FAN_PIN = getenv(RPI_FAN_PIN, 21) # BCM pin used to drive transistor's base
WAIT_TIME = getenv(RPI_FAN_WAITTIME, 5) # [s] Time to wait between each refresh
FAN_MIN = getenv(RPI_FAN_MIN, 60) # [%] Fan minimum speed.
PWM_FREQ = getenv(RPI_FAN_PWMFREW, 50000) # [Hz] Change this value if fan has strange behavior
FAN_PIN = getenv("RPI_FAN_PIN", 21) # BCM pin used to drive transistor's base
WAIT_TIME = getenv("RPI_FAN_WAITTIME", 5) # [s] Time to wait between each refresh
FAN_MIN = getenv("RPI_FAN_MIN", 60) # [%] Fan minimum speed.
PWM_FREQ = getenv("RPI_FAN_PWMFREQ", 50000) # [Hz] Change this value if fan has strange behavior
# Fan speed will change only of the difference of temperature is higher than hysteresis
hyst = getenv(RPI_FAN_HYST, 5)
hyst = getenv("RPI_FAN_HYST", 5)
# Configurable temperature and fan speed steps
tempSteps = [50, 55, 57, 60, 68, 70] # [°C]