Commit graph

85 commits

Author SHA1 Message Date
Tony Corbett G0WFV cb740690c3 Hardcode "pins" for Adafruit display as they shouldn't change
PCF8574 "pins" already hardcoded.  But variables now renamed to match MMDVMHost variables.

Added other Adafruit defines (commented out for now) for possible future use.

Tidyed up some comments.
2016-06-28 18:21:04 +01:00
Tony Corbett G0WFV c4a42d1279 Fix typo and remove unwanted code 2016-06-27 19:18:17 +01:00
Tony Corbett G0WFV 04b297de20 Support for HD44780 via PCF8574 2016-06-27 18:48:13 +01:00
phl0 7d31554488
Correct time offset 2016-06-24 18:14:48 +02:00
Tony Corbett G0WFV 06af87f029 Fix centering of 8 character of times on HD44780 2016-06-24 16:58:01 +01:00
Tony Corbett G0WFV da53f06197 Time/date format by system locale (HD44780 & Nextion) 2016-06-24 16:08:28 +01:00
phl0 3b09e2cf2f
Renamed English to British and added American (MDY) 2016-06-22 14:13:22 +02:00
phl0 0e36abafc3
Transfer date separator settings to HD44780 code 2016-06-22 12:09:56 +02:00
Tony Corbett G0WFV ad0f2c17da Fix HD44780 4th line not cleared when not in Idle
Removed one too many ::lcdClear() statements!
2016-06-19 17:15:42 +01:00
Tony Corbett G0WFV 86debe0ad1 Fix bugs introduced in HD44780 code by adding scrolling to D-Star
For some reason my code reverted and I hadn't noticed!  Various fixes I had applied mysteriously disappeared!
2016-06-18 09:38:03 +01:00
Tony Corbett G0WFV 6a17fee980 Fix compile error (could have sworn I already did this!) 2016-06-17 23:04:10 +01:00
Tony Corbett G0WFV f9b19f19ca Add HD44780 scrolling to D-Star 2016-06-17 22:28:39 +01:00
Tony Corbett 1c1a81243a Simplify writeDStarInt / clearDStarInt and add custom icons for HD44780 2016-06-15 21:49:38 +01:00
Tony Corbett b54f1a0b14 Fix TS1 not displaying 2016-06-05 22:28:41 +03:00
Tony Corbett G0WFV 52dbea6633 Attempt to fix scrolling issues reported on 20x4 LCD
Please test and report in the the exisiting issue on git - I don't have a 20x4 LCD to hand, so am unable to test this myself!
2016-06-05 19:06:04 +01:00
Tony Corbett G0WFV fa8caf8c92 Implement scrolling of long src and dest on HD44780/Adafruit LCDs
Also tidyed up my comments and cleared lines where I've left old code commented out and the new code has proved to work just fine!
2016-06-04 15:22:39 +01:00
Tony Corbett 26fabb2b68 Impliment clock on all HD44780 sizes and redesigned IDLE screen 2016-05-29 10:13:43 +03:00
Tony Corbett 35c0a83d37 Add a clock to the idle screen 2016-05-28 23:29:30 +03:00
Jonathan Naylor 628490097e Add example timer code to HD4470.cpp and .h 2016-05-23 18:43:44 +01:00
Jonathan Naylor 90772a2a9b Add optional clocking for the displays. 2016-05-21 12:28:09 +01:00
Jonathan Naylor 14f36a175d Update the display and logging on incoming YSF network data. 2016-05-19 19:08:48 +01:00
Jonathan Naylor 9ed2c00b0c First go at System Fusion networking. 2016-05-16 21:57:32 +01:00
Tony Corbett G0WFV 635ab50aa5 Clean up and make good without threading
Threading of scrolling source and destination IDs to be revisited another time (hopefully by someone else who knows what they're doing!)
2016-05-12 16:32:27 +01:00
Tony Corbett G0WFV bfe0bb389c Correct an error with printing DMR to top line of 4 line screens 2016-05-12 14:04:43 +01:00
Tony Corbett 0014e39be7 Commented the point at which I'd like to start a new thread 2016-05-12 12:45:12 +01:00
Tony Corbett 0afaf87713 Tidied up and uncommented test duplex flag
Need to look at threading the printing of the buffer to the LCD so it can scroll long strings without pausing (and stopping) the processing of other data.
2016-05-12 12:35:25 +01:00
Tony Corbett 74eb55ae7e Major restructure of writeDMRInt / clearDMRInt 2016-05-12 09:53:42 +01:00
Tony Corbett 127438abbe More restructuring 2016-05-11 22:30:06 +01:00
Tony Corbett ca4d534ff2 Code restructure to allow for something to come ... 2016-05-11 21:14:17 +01:00
Giorgio Campiotti 41eaab8bf0 Update HD44780.cpp
Better color on "LISTENING" and more important, better formatting with 16x2 display: The TG with 4 digit (for example 2222) was not visualized correctly
2016-05-11 19:17:23 +02:00
Tony Corbett 956c191703 Add private call icon and change the way (some of) the icons are handled and displayed 2016-05-11 15:34:43 +01:00
Tony Corbett a0d27d9461 Change source characters to icons and only display once 2016-05-11 13:22:28 +01:00
Tony Corbett 734e0f5de3 Add TG custom char (reclaims 1 char on display\!) 2016-05-11 11:37:23 +01:00
Tony Corbett bcdc2fc1c4 Add more custom chars for type (rf or ip) and use them 2016-05-11 09:10:48 +01:00
Tony Corbett 440f55634c Add custom chars to HD44780 to further reduce screen usage (and add a little 'je ne sais qoi') 2016-05-11 07:58:05 +01:00
Jonathan Naylor bd5946ccd2 Add a display hang time so quick transmissions aren't missed. 2016-05-09 18:14:27 +01:00
Jan-Willem Ruys 50cfef2c6a Update HD44780.cpp
Added AF_ON, AF_OFF to make editing easier for backlights that use inverted signals
2016-05-07 00:13:17 +02:00
Giorgio Campiotti 323ffbcf15 Update HD44780.cpp
Error (not compile)
2016-05-06 23:31:10 +02:00
Jonathan Naylor dd5e86a66d Use the duplex flag to indicate that a DVMega is being used. 2016-05-05 17:08:23 +01:00
Tony Corbett 8aa52ae13d Formatting for consistency 2016-05-05 16:55:31 +01:00
Tony Corbett 352c487279 Re-added missed TG 2016-05-05 16:32:41 +01:00
Tony Corbett 5735209394 Better usage of display with DVMega 2016-05-05 16:13:06 +01:00
Tony Corbett G0WFV 9e6c7cff42 Beginnings of DVMega Display
Use the HD44780 real estate where TS1 is irrelevant.
2016-05-05 14:29:46 +01:00
Jonathan Naylor 99b71a00b2 Clean up the recent HD44780 changes. 2016-05-03 17:59:21 +01:00
Giorgio Campiotti 9507533a9e Update HD44780.cpp
Update with #ifdef ADAFRUIT_DISPLAY on every color change call function to avoid problem with non adafruit display
compiling with:
sudo make all --makefile Makefile.Pi.HD44780

give no problem
2016-05-02 23:08:08 +02:00
Giorgio Campiotti ce647837f0 Update HD44780.cpp
Different colors on different MMDVM status (mostly only on DMR mode at the moment) and better formatting for 16x2 displays
2016-05-02 21:45:29 +02:00
Tony Corbett 095510f477 Change hardware PWM to be a percentage to match software PWM values 2016-05-02 08:37:16 +01:00
Tony Corbett 414a1df408 HD44780 PWM backlight control 2016-05-01 16:59:43 +01:00
phl0 d4e2b5f77e
Delete unneeded asserts 2016-04-21 15:46:18 +02:00
phl0 23738d97f6
Change variable types for strings used in writeDMR 2016-04-21 14:01:53 +02:00