SSブログ

K3NGキーヤー 最新版のスケッチをコンパイルしてみた(その2) [Arduino]

 K3NGキーヤー 最新版のスケッチをコンパイルしてみた(その2)です。

① スケッチの修正
keyer_features_and_options.h
以下の行の define を有効にする
#define FEATURE_COMMAND_BUTTONS // 2015.10.08 Enable Command Button
#define FEATURE_MEMORIES // 2015.10.08 Enable Memory - on the Arduino Due, you must have FEATURE_EEPROM_E24C1024 and E24C1024 EEPROM hardware in order to compile this
#define FEATURE_POTENTIOMETER // 2015.10.08 Enable Potentiometer - do not enable unless you have a potentiometer connected, otherwise noise will falsely trigger wpm changes

keyer_pin_settings.h
以下のピン定義を変更
#define tx_key_line_3 13 // 2015.10.08 -
#define command_mode_active_led 10 // 2015.10.08 -

keyer_settings.h
以下の定義を変更
#define initial_speed_wpm 13 // 2015.10.08 - "factory default" keyer speed setting
#define initial_sidetone_freq 1600 // 2015.10.08 - "factory default" sidetone frequency setting
#define hz_high_beep 1800 // 2015.10.08 - frequency in hertz of high beep
#define initial_pot_wpm_low_value 5 // 2015.10.08 - Potentiometer WPM fully CCW
#define initial_pot_wpm_high_value 30 // 2015.10.08 - Potentiometer WPM fully CW
#define wpm_limit_high 30 // 2015.10.08 -
#define analog_buttons_number_of_buttons 5 // 2015.10.08 -

② コンパイル・ダウンロード
8_K3NG-sketch-compile.jpg
コンパイル・ダウンロード結果です。
かなりメモリに空きがあるので、他の機能を付け足す事は問題なさそうです。

※ 修正したスケッチはここに置いてあります。
nice!(1)  コメント(0)  トラックバック(0) 
共通テーマ:趣味・カルチャー

nice! 1

コメント 0

コメントを書く

お名前:[必須]
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。

トラックバック 0