Closed bubnov-mikhail closed 4 years ago
There are some conflicts. I believe you will need to pull rebase from this master
and then force push again.
Fixed
I have also renamed the inverted class member from the prev PR.
For the future PR, I am thinking about 2 new methods: sleep() and wakуUp(), both will send the native commands to the LCD to turn on/off power-save mode. What do you think?
I have also renamed the inverted class member from the prev PR.
I've commented on that separately. :grin:
For the future PR, I am thinking about 2 new methods: sleep() and wakуUp(), both will send the native commands to the LCD to turn on/off power-save mode. What do you think?
Sure. It's been a while since I've used this, but is there really a "sleep" feature for these screens? Wasn't it just about sending 0
's?
kInverted fixed
I have added a new constructor with a BL pin. That is an optional constructor and does not break anything.
The new method setBacklight(bool) allows to turn on/off the backlight. Why: I am passing a link to the LCD instance. And would like to control the backlight without having an additional pin number in my class.