]>
vault307.fbx.one Git - Sensory_Wall.git/blob - redlight.py
1 from machine
import Pin
8 leds
=[green
,yellow
,red
]
12 manPin
=Pin(18,Pin
.IN
,Pin
.PULL_UP
)
13 button
=Pin(16,Pin
.IN
,Pin
.PULL_UP
)
46 time
.sleep(random
.randint(3,15))