Add configuration for semaphore signals and implement railway signal control
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import random
|
||||
|
||||
# Настройки: 8 LED, подключено к GP6
|
||||
num_leds = 8
|
||||
pin = 6 # GP6
|
||||
pin = 0 # GP6
|
||||
|
||||
np = neopixel.NeoPixel(Pin(pin), num_leds)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user