text: # SPDX-FileCopyrightText: 2019 John Edgar Park for Adafruit Industries
  #
  # SPDX-License-Identifier: MIT
  
  # Turtle Gizmo Star Fancy
  #==| Turtle Gizmo Setup start |========================================
  import board
  import busio
  import displayio
  from adafruit_st7789 import ST7789
  from adafruit_turtle import Color, turtle
  displayio.release_displays()
  spi = busio.SPI(board.SCL, MOSI=board.SDA)
  display_bus = displayio.FourWire(spi, command=board.TX, chip_select=board.RX)
  display = ST7789(display_bus, width=240, height=240, rowstart=80,
                   backlight_pin=board.A3, rotation=180)
  turtle = turtle(display)
  #==| Turtle Gizmo Setup end |=========================================
  
  turtle.pendown()
  turtle.pencolor(Color.BLUE)
  for i in range(26):
      turtle.fd(i*10)
      turtle.rt(144)
  
  while True:
      pass
  