Commit Graph

312 Commits

Author SHA1 Message Date
Reed Nightingale
1869e20cf0 Add some band utility functions for later use 2020-02-09 23:35:33 -08:00
Reed Nightingale
846c59e5cc Update more buttons 2020-02-09 23:32:22 -08:00
Reed Nightingale
dc5104324b Start converting buttons. Not expected to compile 2020-02-09 23:07:12 -08:00
Reed Nightingale
c4e9d3c156 Add function stub for drawing buttons 2020-02-09 23:06:44 -08:00
Reed Nightingale
6dacc470a2 Copy size of the actual object 2020-02-09 23:05:41 -08:00
Reed Nightingale
bc1e546ece const the size 2020-02-09 22:27:49 -08:00
Reed Nightingale
7a149a979d Add some comments to button and move char to the end 2020-02-09 22:19:54 -08:00
Reed Nightingale
bafe61d10a Update button struct to provide more functionality 2020-02-09 22:17:50 -08:00
Reed Nightingale
ecc3b9c1fb Add an init routine to the menu struct 2020-02-09 22:01:19 -08:00
Reed Nightingale
cc763a0dce Add endSelector util 2020-02-09 21:59:15 -08:00
Reed Nightingale
5c04e23504 Show puck on first selection 2020-02-09 21:45:51 -08:00
Reed Nightingale
9541c009be Extract progmem variables, and fix LIMITing on menu selection 2020-02-09 21:34:30 -08:00
Reed Nightingale
d4867ac35b Partial move of main menu buttons 2020-02-09 21:14:43 -08:00
Reed Nightingale
4483852742 Fix includes 2020-02-09 18:44:17 -08:00
Reed Nightingale
a92fdc7793 Update to use new touch functions 2020-02-09 18:41:47 -08:00
Reed Nightingale
26c670ce14 Include new point location 2020-02-09 18:41:26 -08:00
Reed Nightingale
947624518d Move touch functions to their own files 2020-02-09 18:41:13 -08:00
Reed Nightingale
72fc92b584 Add classes for button timing variables and point 2020-02-09 18:40:42 -08:00
Reed Nightingale
b29bd955ca Swap loop logic for new menu logic 2020-02-09 17:59:58 -08:00
Reed Nightingale
e50857f181 Have checkTouch support ButtonPress_e 2020-02-09 17:59:29 -08:00
Reed Nightingale
bd616caaba Have touch functions read to passed pointer 2020-02-09 17:58:45 -08:00
Reed Nightingale
d9667d6756 Add some debugging lines for now 2020-02-09 17:09:46 -08:00
Reed Nightingale
5e30551bf2 Move selector logic to menu_utils 2020-02-09 17:04:47 -08:00
Reed Nightingale
9e21faa6f1 morseText should take a const char* 2020-02-09 17:04:00 -08:00
Reed Nightingale
5a12a636be Make button aware of it's types 2020-02-09 17:03:37 -08:00
Reed Nightingale
79a37620c2 Play morse when selecting 2020-02-09 16:31:24 -08:00
Reed Nightingale
66a9d82308 Set size variable for main menu button array 2020-02-09 16:17:18 -08:00
Reed Nightingale
e42b21fdf3 Add touch button finding util 2020-02-09 16:16:57 -08:00
Reed Nightingale
49c5607dd3 Move menu utils to their own file 2020-02-09 16:01:52 -08:00
Reed Nightingale
e2249af826 Move color definitions to their own file 2020-02-09 15:56:43 -08:00
Reed Nightingale
5fb47187a6 Add definition for movePuck 2020-02-09 15:42:37 -08:00
Reed Nightingale
8faa9c58c7 Make function inputs const, and fix some compiler errors 2020-02-09 15:30:37 -08:00
Reed Nightingale
a7a2655f02 Give readTouch a standard type 2020-02-09 15:29:48 -08:00
Reed Nightingale
f42ad2bcd2 Move button definition 2020-02-09 15:28:46 -08:00
Reed Nightingale
21eb8978d5 Add selection 2020-02-09 14:52:21 -08:00
Reed Nightingale
801b1b08c1 Rough out the main menu 2020-02-09 14:10:32 -08:00
Reed Nightingale
b805761415 Start building a menu 'class' 2020-02-09 14:10:08 -08:00
Reed Nightingale
e35a9eecec Move LIMIT macro to utils 2020-02-08 14:59:06 -08:00
reedbn
1c60b8b63f
Merge pull request #11 from reedbn/cw-transmit-at-displayed-freq
Display TX (not RX) frequency in CW mode
2020-02-04 21:51:03 -08:00
reedbn
94aae2f289
Merge pull request #12 from reedbn/morse-menu
More work is probably needed here, but this is working better than nothing.
2020-02-04 21:50:16 -08:00
Reed Nightingale
225464c51a Remove TX offset in CW mode, and refactor frequency setting code so that it's (almost) all in one place. W0EB pointed out this issue, and it appears that it was discussed but never implemented in https://groups.io/g/BITX20/topic/20916360 2020-02-02 15:19:44 -08:00
Reed Nightingale
03406f62cc Merge branch 'master' into morse-menu 2020-01-30 20:25:30 -08:00
Reed Nightingale
bc5c39357f Fix inter-element timing 2020-01-30 20:23:17 -08:00
Reed Nightingale
d440be6c66 Rename INO file, so that it matches the repo name, and thus doesn't cause issues when checked out initially with default folder name 2020-01-29 21:44:46 -08:00
Reed Nightingale
13fa83d440 Update reported version 2020-01-28 20:54:02 -08:00
Reed Nightingale
0a880fe8a6 Merge master into morse-menu 2020-01-28 20:45:33 -08:00
reedbn
80454612c0
Merge pull request #10 from reedbn/text-justification
Text justification
2020-01-28 20:40:29 -08:00
Reed Nightingale
0ad20caa4b Merge master into text-justification 2020-01-28 20:34:23 -08:00
reedbn
87cf184fe6
Merge pull request #9 from reedbn/fixed-width-freqs
Fixed width freqs and replace MNU with gear symbol
2020-01-28 20:29:53 -08:00
Reed Nightingale
40c23919ed Add space between colon and frequency output 2020-01-28 20:26:34 -08:00