From 41295fa8ac19902cebc539dc937f358a0b876947 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Wed, 6 Dec 2023 09:20:38 +0100 Subject: [PATCH] scripts/examples: Fix GIGA display script. The image is rotated after drawing the touch points, now that we're using the new draw flags, so the touch X axis needs to be reversed. --- scripts/examples/50-Arduino-Boards/Giga-H7/51-Display/display.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/examples/50-Arduino-Boards/Giga-H7/51-Display/display.py b/scripts/examples/50-Arduino-Boards/Giga-H7/51-Display/display.py index f8f8e0c19..6bb418593 100644 --- a/scripts/examples/50-Arduino-Boards/Giga-H7/51-Display/display.py +++ b/scripts/examples/50-Arduino-Boards/Giga-H7/51-Display/display.py @@ -31,6 +31,7 @@ touch = GT911( irq_pin="PI1", touch_points=5, refresh_rate=240, + reverse_x=True, touch_callback=lambda pin: globals().update(touch_detected=True), )