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

Improved documentation on lcd.char #2

Open
4techguns opened this issue Jul 23, 2020 · 0 comments
Open

Improved documentation on lcd.char #2

4techguns opened this issue Jul 23, 2020 · 0 comments

Comments

@4techguns
Copy link

When mentioning lcd.char in readme.md, there are absolutely NO instructions on how to set the byte.

I think it would help the users more if you taught them how to set the byte.
The way is to use String.fromCharCode([number]) ranging from 16 through 255. (16 is the first non-blank character)
If someone is using the test.html as a reference guide, just convert the hex character to decimal
An example is lcd.char(0, 0, String.fromCharCode(16));

Hope this helps anyone else who had this problem!

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

1 participant