Update cubesatsim.ino

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

@ -2235,8 +2235,8 @@ void setup1() {
void loop1() {
if (pwm_counter > pwm_counter_max) {
pwm_counter -= pwm_counter_max;
// if (pwm_counter > pwm_counter_max) {
// pwm_counter -= pwm_counter_max;
pwm_rnd_bit = (buffer[wav_position] > 0) ? HIGH: LOW;
digitalWrite(AUDIO_OUT_PIN, pwm_rnd_bit);

Loading…
Cancel
Save

Powered by TurnKey Linux.