1
0
forked from tanchou/Verilog

FPGA_ESP32_WIFI_Fonctionnel 3MB

This commit is contained in:
2025-06-03 09:04:26 +02:00
parent 3541476e9a
commit 20cbaace08
8 changed files with 49 additions and 38 deletions

View File

@@ -2,7 +2,7 @@ import socket
import time
# Remplace cette IP par celle affichée par l'ESP32 dans le terminal série
ESP32_IP = "172.20.10.13"
ESP32_IP = "192.168.1.107"
ESP32_PORT = 1234
def send_bytes(commands):
@@ -24,5 +24,5 @@ def send_bytes(commands):
print("Erreur :", e)
# Exemple d'envoi
commands = [0x01]
commands = [0x31] # Tu peux aussi faire ["0x01", "0x96", "0xA4"]
send_bytes(commands)