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:
1 parent
c9de14e51a
commit
c9e6de1a1c
37 files changed
+198
-197
No files matched your search
+2
-2
@@ -41,8 +41,8 @@ extern void ADCtoMQTT();
|
||||
#endif
|
||||
|
||||
/*-------------------PIN DEFINITIONS----------------------*/
|
||||
#if defined(ESP8266) || !defined(ADC_PIN)
|
||||
# define ADC_PIN A0 //on nodeMCU this is D3 GPIO0
|
||||
#if defined(ESP8266) || !defined(ADC_GPIO)
|
||||
# define ADC_GPIO A0 //on nodeMCU this is D3 pin
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user