Update cubesatsim.ino

pull/161/head
alanbjohnston 4 years ago committed by GitHub
parent d6c2f9ec54
commit 4cc319f0e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2377,7 +2377,7 @@ void loop1() {
digitalWrite(AUDIO_OUT_PIN, tx_bit); digitalWrite(AUDIO_OUT_PIN, tx_bit);
} }
else if (mode == BPSK) { else if (mode == BPSK) {
tx_bit = (buffer[wav_position] > 0) ? true: false; tx_bit = (buffer[wav_position] > 0) ? true: false;
pwm_config_set_output_polarity( &config, tx_bit, tx_bit); pwm_config_set_output_polarity( &config, tx_bit, tx_bit);
@ -2393,8 +2393,8 @@ void loop1() {
Serial.print(" "); Serial.print(" ");
Serial.println(millis()); Serial.println(millis());
} }
delay(1); //2 1); // delay(1); //2 1);
// sleep(delay_ms_time); sleep(delay_ms_time);
// check pushbutton // check pushbutton
// int pb_value; // int pb_value;

Loading…
Cancel
Save

Powered by TurnKey Linux.