Replace pin by gpio (#631)

* replace _PIN by _GPIO

* add mention about the goal of -all binaries

* [breaking] change json key from "pin" to "gpio" for actuatorONOFF
This commit is contained in:
Florian authored and GitHub committed 2020-06-13 20:04:36 -05:00
1 parent c9de14e51a
commit c9e6de1a1c
37 files changed
+198 -197

No files matched your search

+4 -4
View File
@@ -39,13 +39,13 @@ extern void MQTTtoONOFF(char* topicOri, JsonObject& RFdata);
/*-------------------PIN DEFINITIONS----------------------*/
// default pin, if not set into the MQTT json
#ifndef ACTUATOR_ONOFF_PIN
#ifndef ACTUATOR_ONOFF_GPIO
# ifdef ESP8266
# define ACTUATOR_ONOFF_PIN 15 //12 for sonoff basic relay
# define ACTUATOR_ONOFF_GPIO 15 //12 for sonoff basic relay
# elif ESP32
# define ACTUATOR_ONOFF_PIN 15
# define ACTUATOR_ONOFF_GPIO 15
# else
# define ACTUATOR_ONOFF_PIN 13
# define ACTUATOR_ONOFF_GPIO 13
# endif
#endif