Compilation error: expected ';' before 'delay' bu hata nasıl düzeltilir?(TR)

KODUM BU HATA VARSA SÖYLEYİN LÜTFEN
this is my code. there is a mistake. Help needed

void loop() {
  pinMode(1,HIGH)
  delay(1000)
  pinMode(1,LOW)

}

And did it work like that? Cool.

The IDE don´t like this code fragment.

there is unfortunately no sub forum for the turkish language. please post in English.
(google translate ➜ ne yazık ki türkçe dili için bir alt forum bulunmamaktadır. lütfen ingilizce yazınız.)


as the compiler says, you are missing the semicolons.

const byte ledPin = 3; // don't use pin 1 if you ave a UNO or similar

void setup() {
  pinMode(ledPin, OUTPUT);
}

void loop() {
  pinMode(ledPin,HIGH);
  delay(1000);
  pinMode(ledPin,LOW);
  delay(1000);
}

Please do yourself a favour and please read How to get the best out of this forum and post accordingly (including code tags and necessary documentation for your ask).

I also moved your post to a more suitable category, pay attention to where you post.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.