differentiate ON OFF pin depending on board
This commit is contained in:
1 parent
e89bce406d
commit
d578c6751a
1 file changed
+7
-2
+7
-2
@@ -30,5 +30,10 @@
|
|||||||
#define subjectGTWONOFFtoMQTT Base_Topic Gateway_Name "/ONOFFtoMQTT"
|
#define subjectGTWONOFFtoMQTT Base_Topic Gateway_Name "/ONOFFtoMQTT"
|
||||||
|
|
||||||
/*-------------------PIN DEFINITIONS----------------------*/
|
/*-------------------PIN DEFINITIONS----------------------*/
|
||||||
#define ACTUATOR_ONOFF_PIN 4
|
#ifdef ESP8266
|
||||||
|
#define ACTUATOR_ONOFF_PIN 4
|
||||||
|
#elif ESP32
|
||||||
|
#define ACTUATOR_ONOFF_PIN 4
|
||||||
|
#else
|
||||||
|
#define ACTUATOR_ONOFF_PIN 13
|
||||||
|
#endif
|
||||||
Reference in new issue
Block a user