adafruit / Adafruit_CircuitPython_PyPortal

CircuitPython driver for Adafruit PyPortal.
MIT License
45 stars 56 forks source link

Replaced hard coded display widths and heights for Titano #64

Closed cogliano closed 4 years ago

cogliano commented 4 years ago

The hard coded display widths and heights were wrong for the Titano and future boards that have a resolution other than 320 x 240. Hard coded width and height replaced with board.DISPLAY.width and board.DISPLAY.height, respectively.