Try setting variable PWM frequency with timer2

This commit is contained in:
2024-09-04 15:57:38 +02:00
parent ad987996e0
commit 992899f0cb
3 changed files with 22 additions and 10 deletions

View File

@@ -54,9 +54,9 @@ int Init(void)
// complicated so it might be worth it to switch to
// something like an ATmega328PB.
PWM_SetValue(FAN01, 50);
PWM_SetValue(FAN02, 50);
PWM_SetValue(FAN03, 20);
PWM_SetValue(FAN01, 50); // Fan Peltier Hot side
PWM_SetValue(FAN02, 50); // Fan Peltier Cold Side
// PWM_SetValue(FAN03, 20); // Fan Heating
// The I2C_SetChannel command changes the channel
// setting of the PCA9546 I2C multiplexer. Any