|
|
|
@ -2368,7 +2368,7 @@ 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_but, 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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|