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.
This commit is contained in:
iabdalkader 2023-12-06 09:20:38 +01:00
parent 0d00e62b03
commit 41295fa8ac

View File

@ -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),
)