bitbank2 / OneBitDisplay

A full featured Arduino display library for 1-bit per pixel OLED, LCD and e-paper displays
Apache License 2.0
195 stars 21 forks source link

obdPower for the ONE_BIT_DISPLAY C++ class? #33

Closed graynk closed 2 years ago

graynk commented 2 years ago

Hi! Love your library, thank you for your work.

Am I understanding correctly that if I'm using ONE_BIT_DISPLAY C++ class, then there's no API for turning the screen off and I should use pure obdX methods instead (or add a wrapper myself)? As far as I see it there's no way to get _obd to pass to obdPower() and there's no wrapper for it. Is this by design?

cyberman54 commented 2 years ago

I miss the power feature, too, and this currently is blocking me to migrate to the 2.x c++ version of the lib.

cyberman54 commented 2 years ago

Solution: https://github.com/bitbank2/OneBitDisplay/pull/34

cyberman54 commented 2 years ago

This can be closed now, thanks!

https://github.com/bitbank2/OneBitDisplay/pull/34