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

Comment error: HT1621 may actually 1/3 bias #165

Open
xobs opened this issue Mar 10, 2023 · 2 comments
Open

Comment error: HT1621 may actually 1/3 bias #165

xobs opened this issue Mar 10, 2023 · 2 comments

Comments

@xobs
Copy link

xobs commented Mar 10, 2023

The following code appears to indicate that the HT1621 driver is using 1/2 Bias:

self.command(0x52) # 1/2 Bias and 4 commons

However, my understanding of the command format of luma.lcd is that this is actually setting 1/3 Bias:

image

The comment should be updated, or the code should be changed to 0x50 in order to use 1/2 Bias

@thijstriemstra
Copy link
Collaborator

The comment should be updated, or the code should be changed to 0x50 in order to use 1/2 Bias

@xobs did you try if it still works properly (or even better) when changing the code to use 0x50?

@xobs
Copy link
Author

xobs commented Jun 12, 2023

For me, I had to use 1/3 bias in order to get the display to show anything. But the bias level depends on the display, so it varies from panel to panel.

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

No branches or pull requests

2 participants