From 87ab5d48de52164ad71f427e97b92a999c8d7419 Mon Sep 17 00:00:00 2001 From: Maxim Date: Thu, 11 Jun 2026 10:39:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82=D0=B0?= =?UTF-8?q?=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=20=D0=B8=20=D1=8D=D0=BC?= =?UTF-8?q?=D1=83=D0=BB=D1=8F=D1=82=D0=BE=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 2 +- scripts/emulator.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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