-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #714 from pd9mwo/patch-1
Update HD44780.cpp with POCSAG
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ed54188
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@g4klx
This is a very poor implementation by PD9MWO that causes two new issues.
The reason this happens is because of the library call lcdPuts(). It overwrites 9 characters in writePOCSAGInt(), but only 5 in clearPOCSAGInt(). It does not clear the line.
Here is an example of what can happen when using the two functions, and writing 9 characters and only overwriting 5.
I suggest either the code be reverted back to m_cols - 5 in both functions, and "POCSAG TX" be replaced with something that only has 5 characters to maintain the 5 character system that was previously implemented.
or
clearPOCSAGInt needs to write 9 characters to match writePOCSAGInt() to make sure any previously written text is completely overwritten.
Thanks,
KE7FNS
ed54188
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.