Update cubesatsim.ino

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

@ -2171,7 +2171,7 @@ void start_pwm() {
* 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_wrap(&config, 250);
pwm_config_set_wrap(&config, 178); // 250);
pwm_init(audio_pin_slice, &config, true);
pwm_set_gpio_level(AUDIO_OUT_PIN, 0);

Loading…
Cancel
Save

Powered by TurnKey Linux.