#define MAVI 4
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(5, OUTPUT);
pinMode(MAVI, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(5, HIGH);
digitalWrite(MAVI, LOW); //LOW = 0 olur
delay(500); // this speeds up the simulation
digitalWrite(5, LOW);
digitalWrite(MAVI, HIGH); //HIGH = 1 olur
delay(500); // this speeds up the simulation
}