Update cubesatsim.ino

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

@ -2171,7 +2171,7 @@ void start_pwm() {
* 4.0f for 22 KHz
* 2.0f for 44 KHz etc
*/
pwm_config_set_clkdiv(&config, 4.0); // 8.0); //16.0); // 8.0f); was 16 for some reason
pwm_config_set_clkdiv(&config, 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.