robweber / omni-epd

An EPD (electronic paper display) class abstraction to simplify communications across multiple display types.
GNU General Public License v3.0
81 stars 17 forks source link

Driver for Inky impression 7.3 #96

Closed MivilleSchester closed 6 months ago

MivilleSchester commented 6 months ago

The file "display_inky.py" don't include the driver for inky impression 7.3. The Pimoroni file for the Inky 7.3 is "inky_ac073tc1a.py"

robweber commented 6 months ago

It looks like there are different files for the various versions of the Inky 7.3 display that have different resolutions. The driver being loaded inky_uc8159.py is the one that was originally available and tested. Taking a look at the auto class from the inky library it looks like later revisions of this device use the other driver you indicated.

Have you tried using inky.auto to auto detect the driver? This uses Inky's built in detection and tries to load the file directly based on your version.

MivilleSchester commented 6 months ago

Thank you for the answer. It works now.

Le lun. 11 mars 2024 à 23:11, Rob @.***> a écrit :

It looks like there are different files for the various versions of the Inky 7.3 display that have different resolutions. The driver being loaded inky_uc8159.py is the one that was originally available and tested. Taking a look at the auto class https://github.com/pimoroni/inky/blob/main/library/inky/auto.py#L35 from the inky library it looks like later revisions of this device use the other driver you indicated.

Have you tried using inky.auto to auto detect the driver? This uses Inky's built in detection and tries to load the file directly based on your version.

— Reply to this email directly, view it on GitHub https://github.com/robweber/omni-epd/issues/96#issuecomment-1989969589, or unsubscribe https://github.com/notifications/unsubscribe-auth/BG4DKPFX7MEEJSSGDWHEHTTYXZ55LAVCNFSM6AAAAABERGACDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBZHE3DSNJYHE . You are receiving this because you authored the thread.Message ID: @.***>

robweber commented 6 months ago

Great. I also added some wording to the README to make it a bit more clear this is the preferred driver to use.