-
Hello, I'm using an ILI9341 screen from HiLetgo. I need to rotate the screen 180 degrees. What syntax should I use in the display_ili9341.py file to make it flip? Thanks! Chris |
Beta Was this translation helpful? Give feedback.
Answered by
steelcd
Jan 1, 2022
Replies: 1 comment 1 reply
-
Found it! Add a rotate parameter and set it to two: self.device = ili9341(self.serial, active_low=False, width=self.WIDTH, height=self.HEIGHT, gpio_LIGHT=26, rotate=2) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
steelcd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found it!
Add a rotate parameter and set it to two:
self.device = ili9341(self.serial, active_low=False, width=self.WIDTH, height=self.HEIGHT, gpio_LIGHT=26, rotate=2)