Add a PIN to the card
This commit is contained in:
		@@ -2,6 +2,11 @@
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
Create a new firmware build:
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ static const char *TAG = "relays";
 | 
			
		||||
/**
 | 
			
		||||
 * 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()
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user