From bc0a9a6ae4df1d573ab18bde4d6c7b9eb3eb6225 Mon Sep 17 00:00:00 2001 From: Frank Sinapi Date: Tue, 31 May 2022 16:22:58 -0400 Subject: [PATCH] chore(thermocycler-gen2): slow fan pwm to 1khz --- .../thermocycler-gen2/firmware/thermal/thermal_fan_hardware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stm32-modules/thermocycler-gen2/firmware/thermal/thermal_fan_hardware.c b/stm32-modules/thermocycler-gen2/firmware/thermal/thermal_fan_hardware.c index 4276d05a8..4c6887881 100644 --- a/stm32-modules/thermocycler-gen2/firmware/thermal/thermal_fan_hardware.c +++ b/stm32-modules/thermocycler-gen2/firmware/thermal/thermal_fan_hardware.c @@ -12,7 +12,7 @@ #define SINK_FAN_PWM_Pin (GPIO_PIN_6) #define SINK_FAN_PWM_GPIO_Port (GPIOA) -#define PULSE_WIDTH_FREQ (25000) +#define PULSE_WIDTH_FREQ (1000) #define TIMER_CLOCK_FREQ (170000000) // These two together give a 25kHz pulse width, and the ARR value // of 99 gives us a nice scale of 0-100 for the pulse width.