mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
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:
parent
0d00e62b03
commit
41295fa8ac
@ -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),
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user