kopia lustrzana https://github.com/k3ng/k3ng_cw_keyer
2020.07.04.01
Added OPTION_WINKEY_PROSIGN_COMPATIBILITY for additional character mappings to support K1EL Winkey emulation prosignspull/99/head^2
rodzic
59a692e500
commit
53414367f1
|
@ -1265,6 +1265,9 @@ Recent Update History
|
|||
Pull request 98 - Support for configuring the side tone line states - merged. (https://github.com/k3ng/k3ng_cw_keyer/pull/98) (Thanks, Costin Stroie)
|
||||
New settings: sidetone_line_active_state, sidetone_line_inactive_state
|
||||
|
||||
2020.07.04.01
|
||||
Added OPTION_WINKEY_PROSIGN_COMPATIBILITY for additional character mappings to support K1EL Winkey emulation prosigns
|
||||
|
||||
Documentation: https://github.com/k3ng/k3ng_cw_keyer/wiki
|
||||
|
||||
Support: https://groups.io/g/radioartisan ( Please do not email K3NG directly for support. Thanks )
|
||||
|
@ -1292,7 +1295,7 @@ If you offer a hardware kit using this software, show your appreciation by sendi
|
|||
|
||||
*/
|
||||
|
||||
#define CODE_VERSION "2020.07.01.01"
|
||||
#define CODE_VERSION "2020.07.04.01"
|
||||
#define eeprom_magic_number 40 // you can change this number to have the unit re-initialize EEPROM
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -9306,8 +9309,7 @@ void send_char(byte cw_char, byte omit_letterspace)
|
|||
case ')': send_the_dits_and_dahs("-.--.-"); break;
|
||||
case '&': send_the_dits_and_dahs(".-..."); break;
|
||||
//case '&': send_dit(); loop_element_lengths(3); send_dits(3); break;
|
||||
case ':': send_the_dits_and_dahs("---..."); break;
|
||||
case ';': send_the_dits_and_dahs("-.-.-."); break;
|
||||
|
||||
case '+': send_the_dits_and_dahs(".-.-."); break;
|
||||
case '-': send_the_dits_and_dahs("-....-"); break;
|
||||
case '_': send_the_dits_and_dahs("..--.-"); break;
|
||||
|
@ -9316,7 +9318,23 @@ void send_char(byte cw_char, byte omit_letterspace)
|
|||
case '@': send_the_dits_and_dahs(".--.-."); break;
|
||||
case '<': send_the_dits_and_dahs(".-.-."); break; // AR
|
||||
case '>': send_the_dits_and_dahs("...-.-"); break; // SK
|
||||
case '[': send_the_dits_and_dahs(".-..."); break; // AS (K1EL Winkeyer compability)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#if defined(OPTION_WINKEY_PROSIGN_COMPATIBILITY)
|
||||
case 0x5C: send_the_dits_and_dahs("-..-."); break; // Backslash
|
||||
case '[': send_the_dits_and_dahs(".-..."); break;
|
||||
case ':': send_the_dits_and_dahs("-.--."); break;
|
||||
case ';': send_the_dits_and_dahs(".-.-"); break;
|
||||
case ']': send_the_dits_and_dahs("-.--."); break;
|
||||
#else
|
||||
case ':': send_the_dits_and_dahs("---..."); break;
|
||||
case ';': send_the_dits_and_dahs("-.-.-."); break;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
case ' ':
|
||||
loop_element_lengths((configuration.length_wordspace-length_letterspace-2),0,configuration.wpm);
|
||||
|
|
|
@ -122,3 +122,6 @@
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
#define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -135,3 +135,6 @@
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -122,3 +122,6 @@
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -122,3 +122,6 @@ Generic STM32F103C "Blue Pill"
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -119,3 +119,5 @@
|
|||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -117,3 +117,6 @@
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -130,3 +130,6 @@
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -123,3 +123,5 @@
|
|||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -109,3 +109,6 @@
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -107,3 +107,5 @@
|
|||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -107,3 +107,5 @@
|
|||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -107,3 +107,5 @@
|
|||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -107,3 +107,5 @@
|
|||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -100,3 +100,6 @@
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -99,4 +99,6 @@
|
|||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
||||
|
||||
|
|
|
@ -104,3 +104,6 @@
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
#define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
||||
|
|
|
@ -119,3 +119,5 @@
|
|||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -17,7 +17,7 @@
|
|||
#define FEATURE_COMMAND_LINE_INTERFACE // Command Line Interface functionality
|
||||
#define FEATURE_MEMORIES // on the Arduino Due, you must have FEATURE_EEPROM_E24C1024 and E24C1024 EEPROM hardware in order to compile this
|
||||
#define FEATURE_MEMORY_MACROS
|
||||
#define FEATURE_WINKEY_EMULATION // disabling Automatic Software Reset is highly recommended (see documentation)
|
||||
// #define FEATURE_WINKEY_EMULATION // disabling Automatic Software Reset is highly recommended (see documentation)
|
||||
// #define FEATURE_BEACON // Go into beacon mode if paddle_left pin is LOW at boot up
|
||||
// #define FEATURE_BEACON_SETTING // Go into beacon mode at boot up if EEPROM setting is enabled (\_ CLI Command)
|
||||
// #define FEATURE_TRAINING_COMMAND_LINE_INTERFACE
|
||||
|
@ -151,6 +151,9 @@
|
|||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -132,3 +132,6 @@
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
#define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -83,3 +83,6 @@
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
||||
|
|
|
@ -116,3 +116,5 @@
|
|||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -127,3 +127,6 @@
|
|||
// #define OPTION_PERSONALIZED_STARTUP_SCREEN // displays a user defined string of characters on the second or fourth row of the screen during startup. 1602 display requires OPTION_DO_NOT_SAY_HI
|
||||
// #define OPTION_SWAP_PADDLE_PARAMETER_CHANGE_DIRECTION // reverses the up/down direction when using the paddles to change the wpm or sidetone frequency
|
||||
// #define OPTION_DISPLAY_MEMORY_CONTENTS_COMMAND_MODE
|
||||
|
||||
//Added in version 2020.07.04.01
|
||||
//#define OPTION_WINKEY_PROSIGN_COMPATIBILITY // Additional character mappings to support K1EL Winkey emulation prosigns
|
|
@ -25,7 +25,7 @@
|
|||
#define sidetone_line 12
|
||||
#endif
|
||||
#define potentiometer A0 // Speed potentiometer (0 to 5 V) Use pot from 1k to 10k
|
||||
#define ptt_tx_1 0 //13 // PTT ("push to talk") lines
|
||||
#define ptt_tx_1 13 // PTT ("push to talk") lines
|
||||
#define ptt_tx_2 0 // Can be used for keying fox transmitter, T/R switch, or keying slow boatanchors
|
||||
#define ptt_tx_3 0 // These are optional - set to 0 if unused
|
||||
#define ptt_tx_4 0
|
||||
|
|
Ładowanie…
Reference in New Issue