Commit Graph

128 Commits

Author SHA1 Message Date
Reed Nightingale
8db6401bec Remove delay entirely. active_delay delays 10ms even when asked for 0 2020-01-27 21:51:34 -08:00
Reed Nightingale
e67885d8a0 disable delay before starting CW, allow straight key values through the paddle resistors, set correct timeout 2020-01-26 13:03:50 -08:00
reedbn
e35a2addf9
Merge pull request #6 from reedbn/band-handling-updates
Band handling updates
2020-01-26 11:28:55 -08:00
Reed Nightingale
95ea5b0ee2 Use unsigned ints for frequency 2020-01-26 11:26:18 -08:00
Reed Nightingale
fe1b8cfa34 Merge branch 'master' into band-handling-updates 2020-01-26 11:23:56 -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
54e4d4bf06 When sideband mode is changed, immediately update tuning 2020-01-25 12:02:30 -08:00
Reed Nightingale
a8910e1ba2 Auto-update sideband mode based on keyed-in frequency 2020-01-25 11:57:04 -08:00
reedbn
20a4577ed2
Merge pull request #4 from reedbn/knob-acceleration
Knob acceleration
2020-01-25 11:12:42 -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
Reed Nightingale
9b224699ee increase buffer b size to avoid heap smashing 2020-01-19 18:41:36 -08:00
Reed Nightingale
d0900aa392 Refactor local oscillator cal 2020-01-19 18:40:11 -08:00
Reed Nightingale
ec409d8805 Fix reset x for manual newlines 2020-01-19 13:05:02 -08:00
Reed Nightingale
a8e616637c Remove a bunch of debugging statements 2020-01-19 12:57:53 -08:00
Reed Nightingale
00f5d2691d Make text wrap work nicely 2020-01-19 12:56:47 -08:00
Reed Nightingale
e65f4d57a4 Implement the instructions text 2020-01-19 12:56:14 -08:00
Reed Nightingale
03fd8463eb Switch to named functions instead of lambdas, because apparently PROGMEM doesn't like lambdas 2020-01-19 10:48:07 -08:00
Reed Nightingale
8212ecf1e9 Proof of concept generic setting menu for cw tone 2020-01-18 23:34:41 -08:00
Reed Nightingale
f79ca7c693 Give a reset dialog so it can't be a single mistake to reset 2020-01-17 23:23:56 -08:00
Reed Nightingale
897b5c5de5 Add reset option 2020-01-17 23:10:53 -08:00
Reed Nightingale
e1d0ee1c43 If button is down, load defaults and go from there 2020-01-17 23:10:38 -08:00
Reed Nightingale
bc83bcd5d1 Move CW WPM and Hz to setup menu 2020-01-17 22:57:41 -08:00
Reed Nightingale
b100da145e Rename some of the menu items 2020-01-17 22:27:12 -08:00