Update cubesatsim.ino

pull/153/head
alanbjohnston 4 years ago committed by GitHub
parent 0489fc587f
commit 718a358ba9
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 * 4.0f for 22 KHz
* 2.0f for 44 KHz etc * 2.0f for 44 KHz etc
*/ */
pwm_config_set_clkdiv(&config, 16.0); // 8.0f); pwm_config_set_clkdiv(&config, 8.0); //16.0); // 8.0f); was 16 for some reason
pwm_config_set_wrap(&config, 250); pwm_config_set_wrap(&config, 250);
pwm_init(audio_pin_slice, &config, true); pwm_init(audio_pin_slice, &config, true);

Loading…
Cancel
Save

Powered by TurnKey Linux.