Created
October 20, 2020 07:39
-
-
Save IdrisCytron/e32180ae8d7a4f7337bdf7cb19d15eb1 to your computer and use it in GitHub Desktop.
Program Seeeduino XIAO using CircuitPython - LED Blinking
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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