Skip to content

Added tri-color support #8

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

Merged
merged 1 commit into from
Nov 18, 2022
Merged

Added tri-color support #8

merged 1 commit into from
Nov 18, 2022

Conversation

makermelissa
Copy link
Collaborator

This is to add support for the new Tri-Color eInk: https://www.adafruit.com/product/1028

@makermelissa makermelissa requested a review from a team November 18, 2022 21:18
@@ -33,11 +34,18 @@
_START_SEQUENCE = (
# b"\x01\x05\x03\x00\x2b\x2b\x09" # power setting
# b"\x06\x03\x17\x17\x17" # booster soft start
b"\x04\x80\xc8" # power on and wait 10 ms
b"\x04\x80\xc8" # power on and wait 200 ms
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@makermelissa is it OK to wait 200ms for both the b/w and the tri-color LCD?

Copy link
Collaborator Author

@makermelissa makermelissa Nov 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's been this way for quite a while. I really only updated the comment to match the actual value. The additional delay is probably because CP is a little slower than Arduino. Either way it works.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, the values are the same between the color and b/w displays in Arduino (10ms in that case).

@makermelissa makermelissa merged commit b6d9f85 into adafruit:main Nov 18, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Nov 19, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_UC8151D to 1.2.0 from 1.1.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_UC8151D#8 from makermelissa/main
  > Update .pylintrc for v2.15.5
  > Fix release CI files
  > Update pylint to 2.15.5
  > Updated pylint version to 2.13.0
  > Switching to composite actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants