From 65ead578ab0efc2c14af7aa123abc321022f1869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 12 Mar 2018 13:11:22 +0100 Subject: [PATCH] Add inline info about the OBI device (#622) --- code/espurna/config/hardware.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 09853b45..8aaa8626 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -1475,10 +1475,9 @@ #define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_SET_PULLUP | BUTTON_DEFAULT_HIGH #define BUTTON1_RELAY 1 - // Relays - // #define RELAY1_PIN 12 - // #define RELAY1_TYPE RELAY_TYPE_LATCHED_INVERSE - // #define RELAY1_RESET_PIN 5 + // The relay in the device is not a bistable (latched) relay. + // The device is reported to have a flip-flop circuit to drive the relay + // So @Geitde hack is still the only possible // Hack: drive GPIO12 low and use GPIO5 as normal relay pin: #define RELAY1_PIN 5