-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to auto-select Koch lesson after symbol is keyed correctly multiple times in a row #46
base: master
Are you sure you want to change the base?
Conversation
@@ -73,7 +73,8 @@ const String menuText [menuN] = { | |||
"Wifi Select", //40 | |||
|
|||
|
|||
"Go To Sleep" } ; // 41 | |||
"Go To Sleep", // 41 | |||
"Auto Selection" } ; // 42 Koch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New menu string to select max number of times a symbol should be keyed correctly before moving to next lesson.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put new menu and strings at the end to avoid shifting everything
@@ -120,7 +121,8 @@ const uint8_t menuNav [menuN] [5] = { // { level, left, right, | |||
{1,_wifi_check,_wifi_update,_wifi,0}, // 38 Upload File | |||
{1,_wifi_upload,_wifi_select,_wifi,0}, // 39 Update Firmware | |||
{1,_wifi_update,_wifi_mac,_wifi,0}, // 40 Select network | |||
{0,_wifi,_keyer,_dummy,0} // 41 goto sleep | |||
{0,_wifi,_keyer,_dummy,0}, // 41 goto sleep | |||
{1,_kochEcho,_kochSel,_koch,0}, // 42 koch Auto select check 16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New menu between Echo and Select Lesson
@@ -105,7 +105,8 @@ Preferences pref; // use the Preferences library for storing and r | |||
uint8_t MorsePreferences::snapShots = 0; // keep track which snapshots are being used ( 0 .. 7, called 1 to 8) | |||
|
|||
uint8_t MorsePreferences::boardVersion = 0; // which Morserino board version? v3 uses heltec Wifi Lora V2, V4 uses V2.1 | |||
|
|||
|
|||
uint8_t MorsePreferences::okKeyingMaxCount = 0; // Max number of correct keying before moving to next lesson |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default to disable.
@@ -855,6 +858,10 @@ boolean MorsePreferences::adjustKeyerPreference(prefPos pos) { /// rotati | |||
internal::displayKochFilter(); | |||
break; | |||
|
|||
case posKochAutoSel: MorsePreferences::okKeyingMaxCount = constrain(MorsePreferences::okKeyingMaxCount + t, 0, 100); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Range form 0 to 100.
Jose, this will require some testing before I can commit it. |
I understand. Let me know if you need anything else from me. |
Related to #45