Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Ability to set background color #15

Open
pastukhov opened this issue Mar 7, 2018 · 6 comments
Open

Ability to set background color #15

pastukhov opened this issue Mar 7, 2018 · 6 comments

Comments

@pastukhov
Copy link

Is it possible to set background color without lcd.clear()?

@0x1abin
Copy link
Contributor

0x1abin commented Mar 8, 2018

Yes. you can:
lcd.clear(color=lcd.ORANGE)
or
lcd.fill(color=lcd.ORANGE)

@pastukhov
Copy link
Author

It will reset wole screen. I need to display few strings with different background color each. Is it possible?

@0x1abin
Copy link
Contributor

0x1abin commented Mar 12, 2018

lcd.setTextColor(color=lcd.BLACK, bcolor=lcd.WHITE)
This function can set the text background color, if you change the background color, you need to repaint the text.

@pastukhov
Copy link
Author

pastukhov commented Mar 13, 2018

Awesome!
Almost what i need.
But now i see that wrap=True argument for lcd.print isn't accurate.
image

@pastukhov
Copy link
Author

Is it source code of lcd module available?

@mcauser
Copy link
Contributor

mcauser commented Aug 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants