Commit 4101baed authored by Russ Hughes's avatar Russ Hughes

Random rotation added to test rotations

parent 01139765
...@@ -45,6 +45,7 @@ def main(): ...@@ -45,6 +45,7 @@ def main():
# display jpg in random locations # display jpg in random locations
while True: while True:
tft.rotation(random.randint(0, 4))
tft.jpg( tft.jpg(
"alien.jpg", "alien.jpg",
random.randint(0, tft.width() - 30), random.randint(0, tft.width() - 30),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment