Answer the question
In order to leave comments, you need to log in
Arduino why pin is not responding to low with serial enabled?
Hello,
I am writing this sketch for Arduino Uno:
void setup () {
pinMode(0,OUTPUT);
digitalWrite(0,LOW);
}
void loop () {
delay(1000);
}
void setup () {
Serial.begin(9600);
pinMode(0,OUTPUT);
digitalWrite(0,LOW);
}
void loop () {
delay(1000);
}
Answer the question
In order to leave comments, you need to log in
You have pin 0.1 when you turn on the UART, this module controls it, respectively, they are no longer controlled as GPIO. In particular, PIN0 You
may need to move your relay to a different pin. Or don't initialize the UART...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question