Update cubesatsim.ino

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

@ -2063,7 +2063,9 @@ void pwm_interrupt_handler() {
Serial.print("_");
}
}
pwm_set_gpio_level(AUDIO_OUT_PIN, pwm_value);
pwm_set_gpio_level(AUDIO_OUT_PIN, pwm_value);
Serial.printl("wav_position: ");
Serial.println(wav_position);
if (wav_position++ > 300) {
wav_position = 0;
Serial.println("Reset wav_position");

Loading…
Cancel
Save

Powered by TurnKey Linux.