Allow inversion of input GPIO (#997)

* Allow inversion of input GPIO

* Fix formatting
This commit is contained in:
Chris van Marle authored and GitHub committed 2021-06-26 09:31:05 -05:00
1 parent 90f42990df
commit d2ff32d56f
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -42,4 +42,7 @@ extern void GPIOInputtoMQTT();
# endif
#endif
#define INPUT_GPIO_ON_VALUE "HIGH"
#define INPUT_GPIO_OFF_VALUE "LOW"
#endif