-
Notifications
You must be signed in to change notification settings - Fork 203
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
add epd_powerdown for lilygo #179
Conversation
On lilygo disable display power but not touch screen. The epd power flag was re-purposed as power enable however it also disables the touch. this workaround may still leave power on to epd and as such may cause other problems such as grey screen. please also use poweroff when you sleep the system wake on touch will still work just not the I2C interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, go ahead and merge
Thanks @martinberlin I'm not sure how to deal with the documentation side of this. |
Just add a small addition in the Readme please mentioning what is the use-case for this function. |
Thanks @martinberlin. |
Sorry it's not the prettiest thing.
Ok that's done. Sorry I had to do it by hand and don't know markdown, |
Deoxygenised the comments on the function so it will be explained in the readthedocs.io
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the readme and remove the epd_poweroff_all() since I think is a function that does not exist anymore
This merge in a single commit: fd8a290 was reversed since it added a function cfg_powerdown is a exact copy of existing funcion cfg_poweroff CC @mickeprag |
Add lilygo specific function that did my head in for a while.
When the power is turned off to the epd it seems the power to the touch screen is also disabled. Below are the notes I added.
On lilygo disable display power but not touch screen.
The epd power flag was re-purposed as power enable
however it also disables the touch.
this workaround may still leave power on to epd
and as such may cause other problems such as grey screen.
please also use poweroff when you sleep the system
wake on touch will still work just not the I2C interface.