diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index a6cfd526..3ffbdd2f 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -2272,15 +2272,14 @@ void loop1() { digitalWrite(AUDIO_OUT_PIN, pwm_rnd_bit); // pwm_rnd_bit = (buffer[wav_position] > 0) ? 1 : 0; - +/* if (pwm_rnd_bit == 1) { -// pwm_value = 128 + pwm_amplitude; Serial.print("-"); } else { -// pwm_value = 128 - pwm_amplitude; Serial.print("_"); } +*/ // pwm_set_gpio_level(AUDIO_OUT_PIN, pwm_value); // Serial.println("wav_position: "); // Serial.println(wav_position);