Commit Graph

32 Commits

Author SHA1 Message Date
Reed Nightingale 71e5f877da Add touch cancellation option 2020-05-05 21:32:30 -07:00
Reed Nightingale f76b50fcc3 Update commented out debug print, and remove black screen draw at the end 2020-05-05 20:34:28 -07:00
Reed Nightingale c45a824276 Switch back to nicer font 2020-04-25 22:52:39 -07:00
Reed Nightingale 2a8ff5e758 Replace fastest line routines with fillRect to save ~300 bytes 2020-04-25 21:09:54 -07:00
Reed Nightingale 80494b62b9 Try a couple other fonts. None are great. 2020-04-21 21:56:51 -07:00
Reed Nightingale 98e62a6dca Switch to using a tiny but terrible looking font for size reasons 2020-04-21 21:40:02 -07:00
Reed Nightingale 363ea027f9 Update includes and pin names 2020-04-21 21:12:51 -07:00
Reed Nightingale f7229ebaf2 Save 406 bytes by refactoring the touch calibration routine 2020-02-15 17:07:18 -08:00
Reed Nightingale 8bd9d59e5a Displaying text should accept const char* 2020-02-10 00:51:58 -08:00
Reed Nightingale 61b79ba06a Move formatFreq to utils 2020-02-10 00:16:15 -08:00
Reed Nightingale 947624518d Move touch functions to their own files 2020-02-09 18:41:13 -08:00
Reed Nightingale bd616caaba Have touch functions read to passed pointer 2020-02-09 17:58:45 -08:00
Reed Nightingale e2249af826 Move color definitions to their own file 2020-02-09 15:56:43 -08:00
Reed Nightingale 0ad20caa4b Merge master into text-justification 2020-01-28 20:34:23 -08:00
Reed Nightingale 6ddd46a853 Add spacers to keep frequency display a fixed width 2020-01-28 02:30:34 -08:00
Reed Nightingale 04d836ab73 Removed unused function 2020-01-28 01:52:11 -08:00
Reed Nightingale 0417907d03 Add justification option for text rendering 2020-01-27 23:08:32 -08:00
Reed Nightingale fea7b8d868 Move string to PROGMEM, and remove unused return value 2020-01-26 10:42:20 -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 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 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 227cbe9b07 Load EEPROM settings immediately, and load defaults prior to loading EEPROM values so that we fall back on defaults rather than 0's 2020-01-13 23:38:12 -08:00
Reed Nightingale 44988f48fb Merge branch 'pdq_gfx_update' into one_stop_settings 2020-01-08 21:40:18 -08:00
Reed Nightingale f1ea1fd081 Eliminate white screen syndrome by using the 'exit deep sleep' command sequence 2020-01-07 23:07:44 -08:00
Reed Nightingale 39168d663e Use settings in all files. Compiles, but untested 2020-01-03 23:11:55 -08:00
Reed Nightingale 2902764d73 Save ~4% progmem by using a slightly smaller font 2020-01-01 20:49:35 -08:00
Reed Nightingale ad2e8341d5 Change SPI clock so that we're not violating the touch sensor's timing 2020-01-01 20:26:34 -08:00
Reed Nightingale a718d3064d Get rid of touch-specific SPI settings 2020-01-01 11:48:41 -08:00
Reed Nightingale 6eed9a40c1 Fix text alignment 2019-12-31 18:46:31 -08:00
Reed Nightingale e0a963f9ed PDQ driver is working, but renders a little funny 2019-12-31 17:31:05 -08:00
Ashhar Farhan cda86a1b12
Refactored code
The files are not split into .cpp and .h files. The main file ubitxxxx.cpp will have the main routines to control the radio, initialization and main loop. The user interface is implemented in ubitx_ui.cpp, the code for setup/calibration routines is in setup.cpp. Nano gui, keyer, morse.cpp (morse reader) are all libaries that have minimum dependencies on each other.
2019-12-18 12:02:44 +05:30