tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
587 stars 180 forks source link

ili9341: st7735: st7789: unify rotation support #550

Closed aykevl closed 1 year ago

aykevl commented 1 year ago

I believe this should be entirely backwards compatible.

The goal of this change is so that Rotation and SetRotation can be used in interfaces, so that code using those interfaces can get and set the screen rotation.

deadprogram commented 1 year ago

Verified, working as expected. Thanks @aykevl now merging.