k3ng / k3ng_cw_keyer

K3NG Arduino CW Keyer

Home Page:http://blog.radioartisan.com/arduino-cw-keyer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

command mode speed 255 after download

g4fre opened this issue · comments

commented

building the 25 feb load on a teensy 3.2
I have set" #define initial_command_mode_speed_wpm 20 // "factory default" command mode speed setting"
when i download it gets set to 255

\S
Iambic A
Buffers: Dit On Dah On
WPM: 15
Command Mode WPM: 255
Sidetone: On 1500 hz
Dah to dit: 3.00
Weighting: 50
Serial Number: 1
Potentiometer WPM: 25 (Activated) Range: 13 - 35 WPM
Wordspace: 7
TX: 1
Quiet Paddle Interrupt: 52
Mill Mode Off
Memory 1: CQ CQ CQ DE G4FRE
Memory 2: G4FRE
Memory 3: WW2R
Memory 4: MW2I
Memory 5:{empty}
Memory 6:{empty}
Memory 7:{empty}
Memory 8:{empty}
Memory 9:{empty}
Memory 10:{empty}
Memory 11:{empty}
Memory 12:{empty}

if i do a factory reset I get the same result
I cannot find a command to set the command mode speed, and i cannot key at 255

the build errors are:-

k3ng_keyer: In function 'void loop_element_lengths(float, float, int)':
k3ng_keyer:5564: warning: statement has no effect
sending_mode == AUTOMATIC_SENDING_INTERRUPTED;

                       ^

k3ng_keyer:5459: warning: unused variable 'endtime'
unsigned long endtime = micros() + long(element_lengthlengths1000) + long(additional_time_ms*1000);

               ^

k3ng_keyer: In function 'void service_paddle_echo()':
k3ng_keyer:11035: warning: unused variable 'character_to_send'
byte character_to_send = 0;

    ^

k3ng_keyer:11036: warning: unused variable 'no_space'
static byte no_space = 0;

           ^

k3ng_keyer: In function 'void serial_tune_command(usb_serial_class*)':
k3ng_keyer:11683: warning: variable 'incoming' set but not used
byte incoming;

    ^

k3ng_keyer: In function 'byte play_memory(byte)':
k3ng_keyer:14597: warning: control reaches end of non-void function
}

^

k3ng_keyer: In function 'void serial_program_memory(usb_serial_class*)':
k3ng_keyer:13805: warning: 'memory_number' may be used uninitialized in this function
EEPROM.write((memory_start(memory_number-1)+memory_index),255);

                                 ^

i think the last one is because i have set memories to 4 as I only want 4 buttons \s lists 10?

Dave
g4fre

commented
commented
commented
commented
commented

Closing as part of issue cleanup. 73 Goody K3NG