Closed ccantill closed 4 years ago
@ccantill sorry the PRs weren't processed in due time over the last year. Can I ask you to resolve the conflicts in src/OLEDDisplay.cpp
? I had to merge a large PR from @helmut64 first, sorry.
I'd also like to support this use case (smooth display updates across deep sleeps). Any chance to get this included? If you prefer, I've created a new patch matching current head revision (since I could not update another user's pull request). Either merge this original patch (resolving the merge conflict is trivial), or apply #259 instead, which is identical, except is already matches the current master.
We'll continue over at #259 -> closing
In my application I'm leaving the OLED display on while the ESP goes into deep sleep. Currently the init() method resets the whole display, which is not necessary in my case as it will still have its state from before. This results in a flicker whenever the display needs to be written to after a deep sleep. This adds a
resume()
method which initialises theOLEDDisplay
object without resetting the actual display, eliminating the flickering.