We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfb4ec7 commit 53f245bCopy full SHA for 53f245b
1 file changed
CircuitPython_Templates/blink/code.py
@@ -0,0 +1,13 @@
1
+"""CircuitPython Blink Example - the CircuitPython 'Hello, World!'"""
2
+import time
3
+import board
4
+import digitalio
5
+
6
+led = digitalio.DigitalInOut(board.LED)
7
+led.direction = digitalio.Direction.OUTPUT
8
9
+while True:
10
+ led.value = True
11
+ time.sleep(0.5)
12
+ led.value = False
13
0 commit comments