forked from tanchou/Verilog
FPGA_ESP32_WIFI_Fonctionnel 3MB
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user