fixed pin

Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
Ebbe Baß
2024-02-16 19:13:57 +01:00
parent 0e339c25c2
commit cadbdfe85f
+2 -1
View File
@@ -7,6 +7,7 @@ import time
from threading import Thread from threading import Thread
import paho.mqtt.client as mqtt import paho.mqtt.client as mqtt
from getmac import get_mac_address from getmac import get_mac_address
import board
# Replace with your server's IP address and port # Replace with your server's IP address and port
SERVER_IP = '192.168.0.1' # Change to the actual IP of the PiXelTube Master SERVER_IP = '192.168.0.1' # Change to the actual IP of the PiXelTube Master
@@ -16,7 +17,7 @@ SERVER_PORT = 5000 # Change to the port your Flask app is running on
wlan_mac_address = str(get_mac_address(interface="wlan0")) wlan_mac_address = str(get_mac_address(interface="wlan0"))
# Replace with the GPIO pin connected to the data input of the WS2812B LED strip # Replace with the GPIO pin connected to the data input of the WS2812B LED strip
LED_STRIP_PIN = 18 LED_STRIP_PIN = board.D18
global LED_COUNT global LED_COUNT
LED_COUNT = 30 LED_COUNT = 30
global LEDS_PER_PIXEL global LEDS_PER_PIXEL