Merhaba, arduino oğrenmeye basladım projem buton ile ledi acmak ve bir daha butona basılınca ledi kapatmak evlerimizde kulandıgımız ışıklar gibi. Kodda hata var gozukuyor hata mesajı :
buton_ile__s_k_kontrol:20:3: error: expected '}' at end of input
}
^
exit status 1

expected '}' at end of input

C++:Panoya kopyala
#define Led 10 #define Buton 8 int buton_durumu = 0; void setup() void loop() if(digitalRead(Buton),LOW);