Commit Graph

118 Commits

Author SHA1 Message Date
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
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
Reed Nightingale
e0bc5999c8 De-duplicate keyer strings 2020-01-17 22:22:06 -08:00
Reed Nightingale
ebaf7c44de Do most of the refactoring required to make menus easy to expand 2020-01-17 21:41:52 -08:00
Reed Nightingale
f0e0640115 Swap tone button for menu button for faster dev 2020-01-17 19:05:16 -08:00
Reed Nightingale
6fe6185b19 Remove unused extern 2020-01-17 18:53:18 -08:00
reedbn
7b2057eabb
Merge pull request #2 from reedbn/one_stop_settings
Merging one stop settings branch
2020-01-17 18:47:28 -08:00
Reed Nightingale
692c862b6e Load actual setting, not just the defaulted 0 2020-01-17 00:16:31 -08:00
Reed Nightingale
c17136279e Fix .,? morse encodings, and use correct letter spacing based on settings, not hard coded 2020-01-16 23:36:58 -08:00
Reed Nightingale
79fd056af0 Rename oscillator variables so it's clear which is which not just from the math 2020-01-14 23:49:44 -08:00
Reed Nightingale
afeb056667 Move formatFreq to nano_gui so that both ubitx_ui and setup can use the single function 2020-01-14 23:33:11 -08:00
Reed Nightingale
d62ff59c90 Fix frequency display for VFOs 2020-01-14 23:27:42 -08:00