Smart Home Automation Forum

Full Version: KC868-A4 ESP32 I/O pin define in Arduino IDE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
#define DAC1 25
#define DAC2 26

#define ANALOG_A3  32
#define ANALOG_A4  33

#define ANALOG_A1  34
#define ANALOG_A2  35

const int Relay1 = 2;
const int Relay2 = 15;
const int Relay3 = 5;
const int Relay4 = 4;

const int DI1 = 36;
const int DI2 = 39;
const int DI3 = 27;
const int DI4 = 14;

const int BEEP = 18;

DS18B20 ds(13);
(05-31-2021, 01:29 AM)admin Wrote: [ -> ]#define DAC1 25
#define DAC2 26

#define ANALOG_A3  32
#define ANALOG_A4  33

#define ANALOG_A1  34
#define ANALOG_A2  35

const int Relay1 = 2;
const int Relay2 = 15;
const int Relay3 = 5;
const int Relay4 = 4;

const int DI1 = 36;
const int DI2 = 39;
const int DI3 = 27;
const int DI4 = 14;

const int BEEP = 18;

DS18B20 ds(13);

Hy
Can you tell me which four (4) esp32 pins are in used for controlling the 4 relay on A4 board...?
it already showed Relay1-4. They are GPIO2,GPIO15,GPIO5,GPIO4