Update cubesatsim.ino

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

@ -2209,11 +2209,11 @@ void pwm_interrupt_handler() {
if ((pwm_value == (128 - pwm_amplitude)) && (pwm_rnd_bit == 1)) {
pwm_value = 128 + pwm_amplitude;
// Serial.print("-");
Serial.print("-");
}
else {
pwm_value = 128 - pwm_amplitude;
// Serial.print("_");
Serial.print("_");
}
pwm_set_gpio_level(AUDIO_OUT_PIN, pwm_value);
// Serial.println("wav_position: ");

Loading…
Cancel
Save

Powered by TurnKey Linux.