Skip to content

Commit

Permalink
chore(thermocycler-gen2): slow fan pwm to 1khz
Browse files Browse the repository at this point in the history
  • Loading branch information
fsinapi committed May 31, 2022
1 parent 8d0c2e3 commit bc0a9a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bc0a9a6

Please sign in to comment.