diff --git a/build.sh b/build.sh index fa40b48..a503d49 100644 --- a/build.sh +++ b/build.sh @@ -45,7 +45,7 @@ go mod tidy # ===== 3. КОМПИЛЯЦИЯ GO ===== echo "" -echo "аг 3/4: Компиляция Go сервера..." +echo "Шаг 3/4: Компиляция Go сервера..." # Для Raspberry Pi (ARM64) echo " Целевая платформа: Linux ARM64" diff --git a/scripts/emulator.py b/scripts/emulator.py index 2aba748..2404607 100644 --- a/scripts/emulator.py +++ b/scripts/emulator.py @@ -1,3 +1,8 @@ +""" +# Создание сокета mkfifo /tmp/gpio_pipe +# Необходим файл с данными, например array.txt. Формат записи данных [0xE0, 0x01, 0x4C, 0x88] +# Запуск python3 emulator.py array.txt /tmp/gpio_pipe +""" import sys import time import ast