Add a PIN to the card
This commit is contained in:
parent
315e11a2bb
commit
5ff169d8c2
@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
ESP32 client device, using `W32-ETH01` device
|
ESP32 client device, using `W32-ETH01` device
|
||||||
|
|
||||||
|
## Pins for relays
|
||||||
|
The pins are the following (in the order of definition): 4, 14, 15, 2
|
||||||
|
|
||||||
|
**WARNING!** The Pin 2 MUST be disconnect to reflash the card!
|
||||||
|
|
||||||
## Some commands
|
## Some commands
|
||||||
|
|
||||||
Create a new firmware build:
|
Create a new firmware build:
|
||||||
|
@ -9,7 +9,7 @@ static const char *TAG = "relays";
|
|||||||
/**
|
/**
|
||||||
* Device relays GPIO ids
|
* Device relays GPIO ids
|
||||||
*/
|
*/
|
||||||
static int DEVICE_GPIO_IDS[3] = {4, 14, 15};
|
static int DEVICE_GPIO_IDS[4] = {4, 14, 15, 2};
|
||||||
|
|
||||||
int relays_count()
|
int relays_count()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user