Skip to content

Instantly share code, notes, and snippets.

@IdrisCytron
Created October 20, 2020 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IdrisCytron/e32180ae8d7a4f7337bdf7cb19d15eb1 to your computer and use it in GitHub Desktop.
Save IdrisCytron/e32180ae8d7a4f7337bdf7cb19d15eb1 to your computer and use it in GitHub Desktop.
Program Seeeduino XIAO using CircuitPython - LED Blinking
# Board: Seeeduino XIAO
import time
import board
from digitalio import DigitalInOut, Direction
led = DigitalInOut(board.D13)
led.direction = Direction.OUTPUT
while True:
led.value = True
time.sleep(1)
led.value = False
time.sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment