From ed767f2e3485d2c039c7049eaadf6cf7db0deb8a Mon Sep 17 00:00:00 2001 From: phdlee Date: Sat, 10 Feb 2018 13:29:30 +0900 Subject: [PATCH] CW Start Delay applied New CW Logic --- ubitx_20/ubitx_keyer.ino | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ubitx_20/ubitx_keyer.ino b/ubitx_20/ubitx_keyer.ino index 9aed3d3..be8c2f6 100644 --- a/ubitx_20/ubitx_keyer.ino +++ b/ubitx_20/ubitx_keyer.ino @@ -172,6 +172,9 @@ void cwKeyer(void){ keyerControl &= ~(DIT_L + DAH_L); // clear both paddle latch bits keyerState = KEYED; // next state if (!inTx){ + //DelayTime Option + delay_background(delayBeforeCWStartTime * 2, 2); + keyDown = 0; cwTimeout = millis() + cwDelayTime * 10; //+ CW_TIMEOUT; startTx(TX_CW, 1); @@ -212,6 +215,9 @@ void cwKeyer(void){ if (update_PaddleLatch(0) == DIT_L) { // if we are here, it is only because the key is pressed if (!inTx){ + //DelayTime Option + delay_background(delayBeforeCWStartTime * 2, 2); + keyDown = 0; cwTimeout = millis() + cwDelayTime * 10; //+ CW_TIMEOUT; startTx(TX_CW, 1);