#pragma once #if defined(ESP8266) // ESP-01S #define RELAY_PIN 0 #define RELAY_ACTIVE_LOW 1 #elif defined(ESP32) // временно один вариант на все ESP32 #define RELAY_PIN 4 #define RELAY_ACTIVE_LOW 0 #else #error "Unsupported platform" #endif