from machine import Pin
import time
E_Red=Pin(32,Pin.OUT)
E_Yellow=Pin(33,Pin.OUT)
E_Green=Pin(25,Pin.OUT)
W_Red=Pin(19,Pin.OUT)
W_Yellow=Pin(18,Pin.OUT)
W_Green=Pin(5,Pin.OUT)
N_Red=Pin(23,Pin.OUT)
N_Yellow=Pin(22,Pin.OUT)
N_Green=Pin(21,Pin.OUT)
S_Red=Pin(4,Pin.OUT)
S_Yellow=Pin(2,Pin.OUT)
S_Green=Pin(15,Pin.OUT)
while True:
E_Red.on()
W_Red.on()
N_Green.on()
S_Green.on()
time.sleep(10)
N_Green.off()
S_Green.off()
S_Yellow.on()
N_Yellow.on()
time.sleep(5)
E_Red.off()
W_Red.off()
E_Green.on()
W_Green.on()
S_Yellow.off()
N_Yellow.off()
S_Red.on()
N_Red.on()
time.sleep(10)
E_Yellow.on()
W_Yellow.on()
E_Green.off()
W_Green.off()
time.sleep(5)
E_Yellow.off()
W_Yellow.off()
S_Red.off()
N_Red.off()
esp:VIN
esp:GND.2
esp:D13
esp:D12
esp:D14
esp:D27
esp:D26
esp:D25
esp:D33
esp:D32
esp:D35
esp:D34
esp:VN
esp:VP
esp:EN
esp:3V3
esp:GND.1
esp:D15
esp:D2
esp:D4
esp:RX2
esp:TX2
esp:D5
esp:D18
esp:D19
esp:D21
esp:RX0
esp:TX0
esp:D22
esp:D23
led1:A
led1:C
led2:A
led2:C
led3:A
led3:C
led4:A
led4:C
led5:A
led5:C
led6:A
led6:C
led7:A
led7:C
led8:A
led8:C
led9:A
led9:C
led10:A
led10:C
led11:A
led11:C
led12:A
led12:C