We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68df546 commit cd01933Copy full SHA for cd01933
examples/paint.py
examples/stmpe610_paint_demo.py
@@ -29,8 +29,8 @@
29
if st.touched:
30
while not st.buffer_empty:
31
ts = st.touches
32
- for index in range(len(ts)):
33
- point = ts[index] # the shield only supports one point!
+ for _ in range(len(ts)):
+ point = ts[_] # get the next point
34
# perform transformation to get into display coordinate system!
35
y = point['y']
36
x = 4096 - point['x']
examples/stmpe610_test.py
0 commit comments