Can I use GPIO15 as OUTPUT to control relay module?
AB02A using GPIO15
CHATGTP suggests:
#define RELAY_PIN 15 // GPIO for Relay Signal
void setup() {
pinMode(VEXT_PIN, OUTPUT);
pinMode(RELAY_PIN, OUTPUT);
}
void loop() {
digitalWrite(RELAY_PIN, HIGH); // Turn ON relay
delay(2000);
digitalWrite(RELAY_PIN, LOW); // Turn OFF relay
delay(2000);
On the Heltec website it describes this pin as GPIO15,
but it also says it is used to control Vext,
My question is, can it be used as a standard GPIO to control signal into (3V) relay module
(I dont mind if Vext gets turned On or OFF, as I am not using it in this situation)
THANKS