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

hd44780: configure and write fixes #647

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

sorf
Copy link

@sorf sorf commented Jan 26, 2024

  • Write only the high-part of the byte when configuring in 4-bit mode similar to the LiquidCrystal library around
    here

  • Pulse enable after writing data similar to the LiquidCrystal library:
    4-bits here, 8-bits here

Addresses issue #646.

- Write only the high-part of the byte when configuring in 4-bit mode
similar to the LiquidCrystal library around
[here](https://github.com/arduino-libraries/LiquidCrystal/blob/1.0.7/src/LiquidCrystal.cpp#L116)

- Pulse enable after writing data
similar to the LiquidCrystal library:
[4-bits here](https://github.com/arduino-libraries/LiquidCrystal/blob/1.0.7/src/LiquidCrystal.cpp#L312),
[8-bits here](https://github.com/arduino-libraries/LiquidCrystal/blob/1.0.7/src/LiquidCrystal.cpp#L320)

Addresses issue [tinygo-org#646](tinygo-org#646).
@0pcom
Copy link

0pcom commented Feb 18, 2024

I tested this as requested and was still getting panic with my setup and this particular 16X1 VFD. I posted my workaround in #646
the panic i was experiencing is related to lcd.Display() however and is perhaps unrelated to the fixes in this PR

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

Successfully merging this pull request may close these issues.

None yet

2 participants