LibAPRS icon indicating copy to clipboard operation
LibAPRS copied to clipboard

PPT active logic

Open 4x4eb opened this issue 4 years ago • 1 comments

hi everybody

where can one change the PTT active logic?\

Eitan

4x4eb avatar Sep 21 '20 18:09 4x4eb

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;
}

onemikedelta avatar Jan 01 '21 23:01 onemikedelta