LibAPRS
LibAPRS copied to clipboard
PPT active logic
hi everybody
where can one change the PTT active logic?\
Eitan
Hi Eitan, I am not sure about this solution but give it a chance. Replace following code block in AFSK.c file. In addition to this probably you are going to need to initialize that pin to output high in setup function.
ISR(ADC_vect) {
TIFR1 = _BV(ICF1);
AFSK_adc_isr(AFSK_modem, ((int16_t)((ADC) >> 2) - 128));
if (hw_afsk_dac_isr) {
DAC_PORT = (AFSK_dac_isr(AFSK_modem) & 0xF0);
} else {
DAC_PORT = 136;
}
++_clock;
}