From d3dee2afa672bfc7e06850ef7ac5b6c1b69ecf24 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Thu, 23 Mar 2023 20:44:16 +0000 Subject: [PATCH] Allocate pin --- wled00/wled.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wled00/wled.cpp b/wled00/wled.cpp index 3a451d29..1fce9b31 100644 --- a/wled00/wled.cpp +++ b/wled00/wled.cpp @@ -436,6 +436,10 @@ void WLED::setup() #ifdef WLED_ENABLE_DMX //reserve GPIO2 as hardcoded DMX pin pinManager.allocatePin(2, true, PinOwner::DMX); #endif +#ifdef WLED_ENABLE_DMX_INPUT //reserve GPIO2 and 27 as hardcoded DMX pins + pinManager.allocatePin(2, true, PinOwner::DMX); + pinManager.allocatePin(27, true, PinOwner::DMX); +#endif // WLEDMM experimental: support for single neoPixel on Adafruit boards #if 0