Explorar o código

may be PINOUT 5 for Heltec Wifi LORA V2

Jörg Schüler-Maroldt %!s(int64=5) %!d(string=hai) anos
pai
achega
84d88eb65f
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/ESP-sc-gway.ino

+ 3 - 1
src/ESP-sc-gway.ino

@@ -26,7 +26,9 @@
 
 #if defined (ARDUINO_ARCH_ESP32) || defined(ESP32)
 #	define ESP32_ARCH 1
-#	define _PIN_OUT 4										// For ESP32 this pin-out is standard
+#	ifndef _PIN_OUT
+#		define _PIN_OUT 4										// For ESP32 this pin-out is standard
+#	endif
 #elif defined(ARDUINO_ARCH_ESP8266)
 	//
 #else