2015-04-24 00:20:09 +00:00
# ifndef keyer_pin_settings_h
2015-09-05 15:20:31 +00:00
# define keyer_pin_settings_h
2015-04-24 00:20:09 +00:00
2015-02-18 03:45:07 +00:00
# define paddle_left 2
# define paddle_right 5
# define tx_key_line_1 11 // (high = key down/tx on)
# define tx_key_line_2 13 // Rev A & B nanoKeyer PTT port
# define tx_key_line_3 0
# define tx_key_line_4 0
# define tx_key_line_5 0
# define tx_key_line_6 0
# define sidetone_line 4 // connect a speaker for sidetone
# define potentiometer A7 // Rev A & B nanoKeyer
# define ptt_tx_1 0 // PTT ("push to talk") lines
//#define ptt_tx_1 13 // nanoKeyer PTT port
# 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
# define ptt_tx_5 0
# define ptt_tx_6 0
# define analog_buttons_pin A6 // Rev A & B nanokeyer
# define lcd_rs A2
# define lcd_enable 10
# define lcd_d4 6
# define lcd_d5 7
# define lcd_d6 8
# define lcd_d7 9
# define ps2_keyboard_data A5 // Rev A & B nanokeyer
# define ps2_keyboard_clock 3
2016-01-26 03:56:52 +00:00
# define tx_key_dit 0 // if defined, goes active for dit (any transmitter) - customized with tx_key_dit_and_dah_pins_active_state and tx_key_dit_and_dah_pins_inactive_state
# define tx_key_dah 0 // if defined, goes active for dah (any transmitter) - customized with tx_key_dit_and_dah_pins_active_state and tx_key_dit_and_dah_pins_inactive_state
2015-04-24 00:20:09 +00:00
2019-05-29 14:06:17 +00:00
# define potentiometer_enable_pin 0 // if defined, the potentiometer will be enabled only when this pin is held low; set to 0 to ignore this pin
2016-01-20 23:06:30 +00:00
# if defined(FEATURE_SLEEP)
# define keyer_awake 13 // Goes active when keyer is awake, inactive when in sleep mode; change active and inactive states in keyer_settings file
# endif
2021-03-20 00:28:35 +00:00
# if defined(FEATURE_LCD_BACKLIGHT_AUTO_DIM)
# define keyer_power_led 0 // must be a PWM-capable pin
# endif
2016-07-23 14:15:19 +00:00
# if defined(FEATURE_CAPACITIVE_PADDLE_PINS)
# define capactive_paddle_pin_inhibit_pin 0 // if this pin is defined and is set high, the capacitive paddle pins will switch to normal (non-capacitive) sensing mode
# endif
2017-01-17 23:58:14 +00:00
/*
FEATURE_SIDETONE_SWITCH
Enabling this feature and an external toggle switch adds switch control for playing cw sidetone .
ST Switch status is displayed in the status command . This feature will override the software control of the sidetone ( \ o ) .
Arduino pin is assigned by SIDETONE_SWITCH
*/
# ifdef FEATURE_SIDETONE_SWITCH
# define SIDETONE_SWITCH 8
# endif //FEATURE_SIDETONE_SWITCH
2017-03-31 00:29:18 +00:00
# ifdef FEATURE_4x4_KEYPAD
# define Row3 33
# define Row2 32
# define Row1 31
# define Row0 30
# define Col3 37
# define Col2 36
# define Col1 35
# define Col0 34
# endif
# ifdef FEATURE_3x4_KEYPAD
# define Row3 33
# define Row2 32
# define Row1 31
# define Row0 30
# define Col2 36
# define Col1 35
# define Col0 34
# endif
2018-03-11 15:18:58 +00:00
# ifdef FEATURE_SEQUENCER
# define sequencer_1_pin 0
# define sequencer_2_pin 0
# define sequencer_3_pin 0
# define sequencer_4_pin 0
# define sequencer_5_pin 0
# endif //FEATURE_SEQUENCER
# define ptt_input_pin 0
2018-03-31 01:41:20 +00:00
# define tx_inhibit_pin 0
# define tx_pause_pin 0
2021-07-17 19:58:21 +00:00
# define pin_sending_mode_automatic 0 // goes HIGH when keyer is sending code automatically
# define pin_sending_mode_manual 0 // goes HIGH when keyer is sending code manually (i.e. the paddle or straight key)
2016-12-12 13:18:03 +00:00
# else
# error "Multiple pin_settings.h files included somehow..."
2015-04-24 00:20:09 +00:00
# endif //keyer_pin_settings_h