Update cubesatsim.ino

pull/153/head
alanbjohnston 4 years ago committed by GitHub
parent d4c620358e
commit e597bfbe11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2170,7 +2170,7 @@ void start_pwm() {
* 4.0f for 22 KHz
* 2.0f for 44 KHz etc
*/
pwm_config_set_clkdiv(&config, 8.0); //16.0); // 8.0f); was 16 for some reason
pwm_config_set_clkdiv(&config, 4.0); // 8.0); //16.0); // 8.0f); was 16 for some reason
pwm_config_set_wrap(&config, 178); // 250);
pwm_init(audio_pin_slice, &config, true);

Loading…
Cancel
Save

Powered by TurnKey Linux.