|
|
|
@ -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) {
|
|
|
|
|