I use esp32 devkit v1 . I code follwing this picture.
const int vavle = 1;
int d = 1;
void setup()
{
Serial.begin(115200);
delay(2000);
while (!Serial);
Serial.println();
pinMode(vavle,OUTPUT);
Serial.println(d);
}
void loop()
{
Serial.print("Open Vavle");
digitalWrite(vavle,HIGH);
delay(3000);
digitalWrite(vavle,LOW);
delay(1000);
Serial.print("Close Vavle");
}
but serial monitor has error when use serial monitor it show me square . I confirm select true board rate. you can solve this problem .
never post a picture of text unless absolutely necessary
... please copy your code and paste into your question ... also copy and paste the entire content of the serial monitor