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

LUT color modification #37

Closed
AlexisSADAL opened this issue Oct 10, 2019 · 3 comments
Closed

LUT color modification #37

AlexisSADAL opened this issue Oct 10, 2019 · 3 comments

Comments

@AlexisSADAL
Copy link

AlexisSADAL commented Oct 10, 2019

Hi,

I tried to modify the LUT initilisation by modifying values inside them.
But my modification doesn't changed anything on the refresh process,
I am pretty sure that the COG keep is previous LUT in memory and doen't take the new one into account.
I am working on 1inch54 3 colors (B, W, Y) and I would like to optimize the transition time even if some ghosts keep on the screen.
Is anybody try to modify LUT on this screen or another ?

Alexis

@caemor
Copy link

caemor commented Oct 11, 2019

You just need to write to the LUT_Registers...
I haven't tried any of the colored ones yet, but for the 1.54in BW one I have some code here: https://github.com/caemor/epd-waveshare/blob/master/src/epd1in54/mod.rs#L353-L361

So you need to send a Command to the WRITE_LUT_REGISTER and then send the data (your new lut values...)

But be careful, as you can break your display (e.g. near permanent ghosting) with bad values

@AlexisSADAL
Copy link
Author

Yes that is I am doing.
I send the command and after that the data.
And the refresh process stay the same even if I change values in my LUT data.

@waveshare
Copy link
Collaborator

no, you cann't

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

3 participants