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

+1
View File
@@ -3,6 +3,7 @@ This section is usefull if you want to directly flash your ESP from your desktop
Nevertheless you will not be able to change advanced parameters, if you want to do so refer to [Upload from PlatformIO][pio] section.
Download the binary corresponding to your board and gateway [here](https://github.com/1technophile/OpenMQTTGateway/releases) from github and uncompress it.
Note that the -all binary packages are produced for tests only.
## ESP32
* Download the bootloader [here](https://github.com/espressif/arduino-esp32/raw/master/tools/sdk/bin/bootloader_dio_80m.bin)
+1 -1
View File
@@ -31,4 +31,4 @@ home/OpenMQTTGateway/LWT Online
home/OpenMQTTGateway/version
```
Note that the web portal appears only on first boot, if you want to configure again the setting you can do a long press on TRIGGER_PIN or [erase the settings](../use/gateway.md#erase-the-esp-settings).
Note that the web portal appears only on first boot, if you want to configure again the setting you can do a long press on TRIGGER_GPIO or [erase the settings](../use/gateway.md#erase-the-esp-settings).
+2 -2
View File
@@ -31,10 +31,10 @@ Regarding the IR led emitter you can replace it with a normal led and see if it
try with D2 instead of D3
and put
`#define RF_RECEIVER_PIN 4 // D2 on nodemcu`
`#define RF_RECEIVER_GPIO 4 // D2 on nodemcu`
in config_rf.h
instead of
`#define RF_RECEIVER_PIN 0 // D3 on nodemcu`
`#define RF_RECEIVER_GPIO 0 // D3 on nodemcu`
## Exception seen on serial monitor:
Hey I got a callback