]> vault307.fbx.one Git - Sensory_Wall.git/blob - towertest.py
more sensory wall projects
[Sensory_Wall.git] / towertest.py
1 from machine import Pin
2 import time
3
4 green=Pin(17,Pin.OUT)
5 yellow=Pin(14,Pin.OUT)
6 red=Pin(15,Pin.OUT)
7
8 green.off()
9 yellow.off()
10 red.off()
11
12 while True:
13 red.off()
14 green.on()
15 time.sleep(10)
16 green.off()
17 yellow.on()
18 time.sleep(10)
19 yellow.off()
20 red.on()
21 time.sleep(10)