pappersverk / inky

A library for managing Inky e-ink displays from Elixir.
Apache License 2.0
72 stars 11 forks source link

Correct height for PhatSSD1608 and do minor refactoring #40

Open mnishiguchi opened 3 years ago

mnishiguchi commented 3 years ago

The height value was wrong in one location for SSD1608.

In the Python library, there are two sets of dimensions for SSD1608, which is confusing. but it seems like 250x136 works better in our code than 250x122.

Also I moved the display info fromInky.HAL.PhatSSD1608 toInky.Display struct. I think it makes SSD1608 code slightly more consistent with the other code.

Notes