Update cubesatsim.ino

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

@ -2369,11 +2369,14 @@ void loop1() {
} }
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);
pwm_init(bpsk_pin_slice, &config, true); pwm_init(bpsk_pin_slice, &config, true);
pwm_set_gpio_level(BPSK_PWM_PIN, (config.top + 1) * 0.5); pwm_set_gpio_level(BPSK_PWM_PIN, (config.top + 1) * 0.5);
*/
} }
// if (wav_position++ > BUFFER_SIZE) { // 300) { // if (wav_position++ > BUFFER_SIZE) { // 300) {

Loading…
Cancel
Save

Powered by TurnKey Linux.