From 08314bd9f8398c2497b7f67ad3c37eff17aa55f9 Mon Sep 17 00:00:00 2001 From: Jason2866 Date: Wed, 6 Feb 2019 22:34:41 +0100 Subject: [PATCH] Rf Bridge Gpio12 / 14 selectable Add GPIO12 and GPIO14 in Rf Bridge as GpioUser. This Gpio are not used and easy reachable via solder pads --- sonoff/sonoff_template.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sonoff/sonoff_template.h b/sonoff/sonoff_template.h index f86a6725d..1e5e1a573 100644 --- a/sonoff/sonoff_template.h +++ b/sonoff/sonoff_template.h @@ -1054,9 +1054,10 @@ const mytmplt kModules[MAXMODULE] PROGMEM = { 0, // GPIO09 0, // GPIO10 // GPIO11 (SD_CMD Flash) - 0, + GPIO_USER, // GPIO12 Optional sensor GPIO_LED1_INV, // GPIO13 Blue Led (0 = On, 1 = Off) - Link and Power status - 0, 0, 0, 0 + GPIO_USER, // GPIO14 Optional sensor + 0, 0, 0 }, { "Sonoff B1", // Sonoff B1 (ESP8285 - my9231) GPIO_KEY1, // GPIO00 Pad