Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
featherwing has a rotation of 90 (its vertical!)
  • Loading branch information
ladyada committed Jul 9, 2021
commit da751d65f27ed0ea43b1e8303f87160418fe032f
3 changes: 2 additions & 1 deletion examples/displayio_sh1107_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@
# SH1107 is vertically oriented 64x128
WIDTH = 128
HEIGHT = 64
ROTATION = 90
BORDER = 2

display = adafruit_displayio_sh1107.SH1107(display_bus, width=WIDTH, height=HEIGHT)
display = adafruit_displayio_sh1107.SH1107(display_bus, width=WIDTH, height=HEIGHT, rotation=ROTATION)

# Make the display context
splash = displayio.Group()
Expand Down