Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map special characters to unused ascii characters #30

Open
andrewcharnley opened this issue Dec 24, 2020 · 4 comments
Open

Map special characters to unused ascii characters #30

andrewcharnley opened this issue Dec 24, 2020 · 4 comments

Comments

@andrewcharnley
Copy link

Please use the logic of the original HD chip! Those of us doing DMA writes of the whole screen can not use adhoc commands to change characters.

@nseidle
Copy link
Member

nseidle commented Dec 28, 2020

What micro or processor are you using to drive the display? What interface (I2C, serial, or SPI)? What driver (our Arduino library, probably your own)?

Your issue title is related to special characters but you're reporting issues with pass through low level HD44780 commands? Your issue is unfortunately too sparse for us to be of any help.

@andrewcharnley
Copy link
Author

I2C, NRF52.

I currently implement a screen buffer of 4x20 bytes which I write to and push out to the display. Apart from the other issue that I mentioned in the other thread, when special characters are used the command character must be used which prevents use of a screen buffer (because it's two bytes).

The simple solution is not to reinvent the wheel - use the non-print characters as spaceholders (0x0 to 0x20 or 0x7F) to a) invoke command options and b) to write special characters.

@nseidle
Copy link
Member

nseidle commented Dec 28, 2020

I welcome a PR. There's over 15 years of history to this product so you may be battling reverse compatibility of prior models.

@andrewcharnley
Copy link
Author

Time for a version 2.0 then. Solve all these problems and you have a one stop product for more professional use cases (DMA). ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants