Commit Graph

141 Commits

Author SHA1 Message Date
Reed Nightingale
953a59f309 Don't play bools if morseMenu is off 2020-01-26 11:15:11 -08:00
Reed Nightingale
b0b11a93f0 Merge warning fixes, and fix 'new' warnings 2020-01-26 11:12:07 -08:00
reedbn
bbe34daff7
Merge pull request #5 from reedbn/warning-cleanup
Warning cleanup
2020-01-26 10:55:34 -08:00
Reed Nightingale
298bb479b5 Explicit cast to prevent integer overflow 2020-01-26 10:47:57 -08:00
Reed Nightingale
1505936713 Remove unused variable 2020-01-26 10:43:11 -08:00
Reed Nightingale
fe9f04d146 Remove unused static 2020-01-26 10:42:37 -08:00
Reed Nightingale
fea7b8d868 Move string to PROGMEM, and remove unused return value 2020-01-26 10:42:20 -08:00
Reed Nightingale
c38460576b A number of explicit casts, initializations, and type adjustments to avoid warnings 2020-01-26 10:40:59 -08:00
Reed Nightingale
6dd4b37d8a analogRead technically returns an int, but it only can be 0-1023, so practically it's an unsigned int. This matches types for the constants. Also removed cwAdcSTFrom, since the value will always be greater than 0 2020-01-26 10:40:03 -08:00
Reed Nightingale
f54320e8cb Match unsigned with unsigned 2020-01-26 10:39:01 -08:00
Reed Nightingale
b65e5eb90c un-name unused variable 2020-01-26 10:38:35 -08:00
Reed Nightingale
2ac24eb28d Minor whitespace adjustment, and remove unused variables 2020-01-26 10:22:20 -08:00
Reed Nightingale
e88ee1826e Remove unused variables and set default values for colors 2020-01-26 10:22:01 -08:00
Reed Nightingale
1175d1f7eb Add morseBool to main screen buttons 2020-01-25 16:32:04 -08:00
Reed Nightingale
9635d404b0 Add morseBool function 2020-01-25 16:31:32 -08:00
Reed Nightingale
c6b21bfa6d Instead of fast tuning, play back the current frequency upon selection 2020-01-25 15:54:47 -08:00
Reed Nightingale
68b85e6fa0 Add a brief pause before continuing to play the actual characters 2020-01-25 15:54:06 -08:00
Reed Nightingale
0c575d222f Add a way to terminate playback 2020-01-25 11:27:58 -08:00
Reed Nightingale
6dae08e222 Merge branch 'master' into morse-menu 2020-01-25 11:13:12 -08:00
reedbn
20a4577ed2
Merge pull request #4 from reedbn/knob-acceleration
Knob acceleration
2020-01-25 11:12:42 -08:00
Reed Nightingale
1b8966103d Send audio for 'Exit' menu option correctly 2020-01-22 00:49:59 -08:00
Reed Nightingale
814b646ab0 Shuffle CW menu a bit, and reduce lots of menu name string lengths so that they play faster when in CW mode 2020-01-22 00:11:52 -08:00
Reed Nightingale
70153f77d2 Add morse menu playback to setup 2020-01-22 00:04:12 -08:00
Reed Nightingale
13df195efc Replace morse table with direct binary values so that there can't be mis-translations of the hex 2020-01-21 23:54:42 -08:00
Reed Nightingale
418acf644b Fix morse encoding for 'y' 2020-01-21 23:53:09 -08:00
Reed Nightingale
a9e73bb102 Instead of having long press of tuner enter menu, have it turn on morse menu readout mode instead 2020-01-21 23:19:00 -08:00
Reed Nightingale
d854a51184 Add start and end of transmission to morse list 2020-01-21 23:17:47 -08:00
Reed Nightingale
edbb17e4c4 Fix keypad frequency entry code 2020-01-21 22:59:48 -08:00
Reed Nightingale
1c099663fc Have morseLetter respect global playback setting 2020-01-21 22:07:11 -08:00
Reed Nightingale
b0193ca762 Add option to turn on and off morse menu playback 2020-01-21 22:06:37 -08:00
Reed Nightingale
88d16bb073 Add morse playback of main menu 2020-01-21 21:30:18 -08:00
Reed Nightingale
3087830bfb Expose single letter morse to other code areas 2020-01-21 21:21:50 -08:00
Reed Nightingale
bbdd6840c9 Reduce setting step size, since momentum can get places faster 2020-01-21 01:37:09 -08:00
Reed Nightingale
13f109c8b3 First pass at a momentum function 2020-01-21 01:13:36 -08:00
Reed Nightingale
4aea1b7126 Slightly change centering. Appears to ride a tiny bit high because it leaves room for below-line characters, like gjpqy 2020-01-19 22:54:42 -08:00
Reed Nightingale
755b2214f9 Add missing includes to compile 2020-01-19 22:53:00 -08:00
Reed Nightingale
9fb4efc5ac Move encoder functions to their own file 2020-01-19 22:49:59 -08:00
reedbn
59347af9ed
Merge pull request #3 from reedbn/menu-refactor
Menu refactor
2020-01-19 22:36:37 -08:00
Reed Nightingale
1f033b6af4 Save 102 progmem bytes by de-duping strings 2020-01-19 20:51:19 -08:00
Reed Nightingale
dd3a6162af Set global setting so that setFrequency will work correctly 2020-01-19 20:42:44 -08:00
Reed Nightingale
6d5fb97c62 Refactor reset-all setting 2020-01-19 20:35:43 -08:00
Reed Nightingale
d032664620 Re-order cw settings to match the menu 2020-01-19 20:21:51 -08:00
Reed Nightingale
850cda59e4 Refactor cw play speed setting 2020-01-19 20:20:03 -08:00
Reed Nightingale
ece69fff3a Let morseText play back at any desired rate, not just the default one 2020-01-19 20:15:01 -08:00
Reed Nightingale
4265d56d32 Remove unused setupCwTone 2020-01-19 19:50:54 -08:00
Reed Nightingale
9af0c1c965 Refactor keyer setting into new menu style 2020-01-19 19:50:11 -08:00
Reed Nightingale
dc1da20b13 Refactor cw switch delay 2020-01-19 19:40:03 -08:00
Reed Nightingale
58bfe55620 Move tone down to keep the menus in a somewhat orderly fashion 2020-01-19 19:26:31 -08:00
Reed Nightingale
b99e13eff4 Refactor BFO settings menu 2020-01-19 19:24:26 -08:00
Reed Nightingale
315d9348f0 Swap most string operations to bounded versions 2020-01-19 19:00:45 -08:00