update
This commit is contained in:
parent
43b6b5da47
commit
258dfa3793
|
@ -0,0 +1,16 @@
|
|||
import time
|
||||
import board
|
||||
import digitalio
|
||||
|
||||
PIN = board.D18
|
||||
|
||||
print("hello blinky!")
|
||||
|
||||
led = digitalio.DigitalInOut(PIN)
|
||||
led.direction = digitalio.Direction.OUTPUT
|
||||
|
||||
while True:
|
||||
led.value = True
|
||||
time.sleep(0.5)
|
||||
led.value = False
|
||||
time.sleep(0.5)
|
Loading…
Reference in New Issue