Commit Graph

371 Commits

Author SHA1 Message Date
Reed Nightingale 8bd9d59e5a Displaying text should accept const char* 2020-02-10 00:51:58 -08:00
Reed Nightingale 2f9a0a3e04 Fix compile errors 2020-02-10 00:51:23 -08:00
Reed Nightingale 51288f1db3 Define types for formatFreq 2020-02-10 00:35:32 -08:00
Reed Nightingale 90d550a03a Prevent multi-include problems 2020-02-10 00:29:46 -08:00
Reed Nightingale 61b79ba06a Move formatFreq to utils 2020-02-10 00:16:15 -08:00
Reed Nightingale 5c0ecb087b Comment out submenus for now 2020-02-10 00:06:28 -08:00
Reed Nightingale fa62b1136f Update morse playback to use new version of button 2020-02-10 00:06:11 -08:00
Reed Nightingale 1077b0bf84 First pass on main menu button conversion complete. Not expected to compile 2020-02-10 00:01:49 -08:00
Reed Nightingale 254b60d88f More button conversion 2020-02-09 23:52:02 -08:00
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