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

+6 -6
View File
@@ -49,14 +49,14 @@ extern void MeasureDistance();
/*-------------------PIN DEFINITIONS----------------------*/
#if defined(ESP8266)
# define HCSR04_TRI_PIN D6
# define HCSR04_ECH_PIN D7
# define HCSR04_TRI_GPIO D6
# define HCSR04_ECH_GPIO D7
#elif defined(ESP32)
# define HCSR04_TRI_PIN 16 // NOT TESTED
# define HCSR04_ECH_PIN 17 // NOT TESTED
# define HCSR04_TRI_GPIO 16 // NOT TESTED
# define HCSR04_ECH_GPIO 17 // NOT TESTED
#else
# define HCSR04_TRI_PIN 6 // NOT TESTED
# define HCSR04_ECH_PIN 5 // NOT TESTED
# define HCSR04_TRI_GPIO 6 // NOT TESTED
# define HCSR04_ECH_GPIO 5 // NOT TESTED
#endif
#endif