Re: Firmware options for the current uBitx v6 with the 2.8" tft display #ili9341


Nitin William
 

Hello Mark,

I made below changes in the file hb_hand_key to reset tx timeout timer when sending CW and it resolved the issue.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
void hand_key(void) {
  static bool old_state = false;

  bool down = (analogRead(ANALOG_KEYER) < PS_LEFT_MAX) // paddle in hand key
            || (last_ptt == 0);                        // PTT pressed
  if (old_state != down) {
    old_state = down;
    tx_timeout = 0; //Added timer reset
    if (!radio_obj.cw_tx) {
      radio_obj.set_cw_tx(true);
      cw_tx_change_state = true;
      
    }
    radio_obj.sidetone(down);
    digitalWrite(CW_KEY, down);
    if (!down) {
      tx_timeout = ((radio_obj.cw_delaytime * CW_DELAY_MULTIPLE) >> 3) + 1;
    }
  }
}
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thanks
VU3GAO

Join BITX20@groups.io to automatically receive all group messages.