Commit graph

121 commits

Author SHA1 Message Date
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
phl0 f6c7ee79c6
Changed type of callsign variable for HD44780 2016-04-21 12:03:55 +02:00
Jonathan Naylor 2e84ab888a Add some missing asserts. 2016-04-18 19:54:31 +01:00
phl0 85cfbe4171 Save some spaces on 4x16 displays 2016-04-18 08:47:49 +02:00
phl0 d29da6ba58 Added output for 4x16 HD44780 LCDs 2016-04-18 08:43:17 +02:00
root 2f09a0047f Add support for Adafruit i2c 16 x 2 RGB LCD Pi Plate 2016-04-17 07:11:05 -04:00
phl0 961288ed90 Add reflector info for 2x40 LCDs 2016-04-16 22:13:06 +02:00
phl0 4c86422da3 Add forgotten include of cstring 2016-04-16 21:59:31 +02:00
phl0 bf128e76f3 Add output of information about incoming reflector 2016-04-16 21:45:49 +02:00
DF2ET eeb6d0a57e Changed variable dst to string 2016-04-16 10:28:45 +00:00
phl0 a853a8cad0 Merge remote-tracking branch 'upstream/master' into define_display_sizes
Conflicts:
	HD44780.cpp
2016-04-16 11:55:47 +02:00
phl0 5b144203d9 Add destination call lookup to display output as well 2016-04-15 15:35:45 +02:00
phl0 a8cd27f0a0 Corrected swappin of line numbers 2016-04-15 13:40:57 +02:00
phl0 771fa606a0 Corrected comparisons on rows/cols 2016-04-14 23:57:20 +02:00
phl0 a34d5c43d0 Changed second half of writeDMR function 2016-04-14 23:31:57 +02:00
phl0 ebe33ceb24 Change firs halt of writeDMR function 2016-04-14 23:21:52 +02:00
phl0 b32eb55083 Change clearDMR function to explicit display sizes 2016-04-14 23:09:00 +02:00
phl0 c0be38a34e Change writeFusion to explicit display sizes 2016-04-14 23:01:04 +02:00
phl0 bced1c4214 Change writeFusion function to explicit display sizes 2016-04-14 22:57:23 +02:00
phl0 14aae85c7e Change display sizes for clearDStar function 2016-04-14 22:52:03 +02:00
phl0 5e04dc1fd7 Change writeDStar function to explicit sizes 2016-04-14 22:44:42 +02:00
Jonathan Naylor 8eb564ba37 Translate DMR Id to callsign from a file. 2016-04-12 18:26:13 +01:00
Jonathan Naylor 9c59294c23 Add extra commits and hopefully fix missing line on HD44780 in DMR mode, 2016-04-12 17:46:48 +01:00
phl0 6e9ff3370b Add source identifier to 2-lined displays 2016-04-12 08:16:04 +02:00
phl0 975edd2dea Add source identifier to D-Star output on HD44780 2016-04-12 00:12:07 +02:00
Jonathan Naylor 4329c627db Hopefully fix the missing display of the first transmission in all modes. 2016-04-11 12:21:46 +01:00
phl0 41ffcc4cab Add callsign and DMR id to displays idle screen 2016-04-08 13:47:05 +02:00
Jonathan Naylor 3ee457830b Allow for the configuration of the HD44780 pins. 2016-04-06 17:43:20 +01:00
phl0 c0037e8098 Clear line with URcall while going to LISTENING mode 2016-04-04 23:42:15 +02:00
Jonathan Naylor b19c46ff2c Add an error display. 2016-03-21 22:47:58 +00:00
Jonathan Naylor d1664b4275 Add asserts. 2016-03-15 17:20:10 +00:00
Jonathan Naylor 9b80c2e6fe Change the display for D-Star and Fusion if we have more than two lines. 2016-03-15 11:42:36 +00:00
Jonathan Naylor 81d597dc50 Update HD44780.cpp 2016-03-15 09:39:04 +00:00
Jonathan Naylor 92f7cab3d1 Initialise the main wiringPi library at the beginning. 2016-03-15 09:38:15 +00:00
Jonathan Naylor c698cfb887 Further changes to HD44780 support on the Pi. 2016-03-15 07:12:52 +00:00
Jonathan Naylor 070bf2bff4 Add the HD4470 type display to Raspberry Pis. 2016-03-14 22:58:09 +00:00