Skip to content

Commit 636b449

Browse files
committed
# UPDATE: for loop inside while [√]
1 parent 2db1bbf commit 636b449

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/displayio_layout_cartesian_simpletest.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
posx = 0
4343
posy = 0
4444

45-
for i in range(0, 90, 2):
46-
my_plane.update_pointer(i, i)
47-
time.sleep(0.5)
45+
while True:
46+
for i in range(0, 90, 2):
47+
my_plane.update_pointer(i, i)
48+
time.sleep(0.5)

0 commit comments

Comments
 (0)