23 lines
502 B
Python
23 lines
502 B
Python
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
import board
|
|
from adafruit_turtle import Color, turtle
|
|
|
|
turtle = turtle(board.DISPLAY)
|
|
|
|
mycolors = [Color.WHITE, Color.RED, Color.BLUE, Color.GREEN, Color.ORANGE, Color.PURPLE]
|
|
turtle.penup()
|
|
turtle.forward(130)
|
|
turtle.right(180)
|
|
turtle.pendown()
|
|
|
|
for i in range(6):
|
|
turtle.pencolor(mycolors[i])
|
|
turtle.circle(25)
|
|
turtle.penup()
|
|
turtle.forward(50)
|
|
turtle.pendown()
|
|
|
|
while True:
|
|
pass
|