Skip to content

Conversation

@BlitzCityDIY
Copy link
Contributor

updating power_up() for the 2.13" flex monochrome display. takes an option PID argument in the init

@BlitzCityDIY
Copy link
Contributor Author

@ladyada updating power_up() for the 2.13" flex monochrome display

@ladyada
Copy link
Member

ladyada commented Oct 7, 2025

ugh i dont like doing it this way, what is the command that's incompatible?

@BlitzCityDIY
Copy link
Contributor Author

@ladyada its the panel setting and CDI

self.command(_IL0373_PANEL_SETTING, bytearray([0x1F, 0x0D]))
self.command(_IL0373_CDI, bytearray([0x97]))

for flex, compared to

self.command(_IL0373_PANEL_SETTING, bytearray([0xCF]))
self.command(_IL0373_CDI, bytearray([0x37]))

@ladyada
Copy link
Member

ladyada commented Oct 7, 2025

i just dont wanna do PID tests because the product can change. is there a way we can subclass it for different products, kinda like we do in Arduino?

@BlitzCityDIY
Copy link
Contributor Author

gotcha, makes sense. just pushed the subclass and removed the PID argument

@BlitzCityDIY BlitzCityDIY merged commit 25d0186 into main Dec 8, 2025
2 checks passed
@BlitzCityDIY BlitzCityDIY deleted the il0373_update branch December 8, 2025 12:58
adafruit-adabot pushed a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Dec 9, 2025
Updating https://github.com/adafruit/Adafruit_CircuitPython_EPD to 2.18 from 2.17.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#86 from joxl/jm/ssd1680b-driver-module
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#98 from adafruit/il0373_update
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.

3 participants