Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A4 ESP32 I/O pin define in Arduino IDE
#1
#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);
Reply
#2
(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...?
Reply
#3
it already showed Relay1-4. They are GPIO2,GPIO15,GPIO5,GPIO4
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)