adafruit / Adafruit_CircuitPython_ST7565

A display control library for ST7565 graphic displays
MIT License
6 stars 3 forks source link

Add a variable to allow shifting the column address an arbitrary amount #4

Closed U47 closed 2 years ago

U47 commented 2 years ago

Found this lurking as a const in the old C library as (ST7565_STARTBYTES), and although the value presented there wasn't working for my display, I was able to get my display working correctly with a different value. Decided to make it an instance variable so it can be adjusted as needed (alongside the pagemap list, which I also needed to adjust for my display).

tekktrik commented 2 years ago

Looks like black keeps getting angry, you can further repent to the linter using pre-commit :) Here's some instructions on getting started, should help you get that sorted out!

https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/check-your-code

U47 commented 2 years ago

Looks like black keeps getting angry, you can further repent to the linter using pre-commit :) Here's some instructions on getting started, should help you get that sorted out!

I appreciate the help. I was trying to get away with editing directly inside GitHub since it's such a minor thing, but I've angered the testing gods. I'm still new to Adafruit's way of doing things!

I'll clone it correctly and run the hooks properly before pushing again. Thanks for that link to the info I need.