"In function 'Void loop()':82:1: Error: Expected '}' at end of input82:1: error: Expected '}" hatası

sparkleshade

Femtopat
Katılım
5 Haziran 2023
Mesajlar
5
Daha fazla  
Cinsiyet
Erkek
Const int buton1 = 2;
Const int buton2 = 3;
Const int buton3 = 4;
Const int buton4 = 5;
Const int buton5 = 6;
Const int buton6 = 7;
Const int buton7 = 8;
Const int buton8 = 9;
Const int buzzer = 13;

Void setup()
{
Pinmode(buton1, ınput);
Pinmode(buton2, ınput);
Pinmode(buton3, ınput);
Pinmode(buton4, ınput);
Pinmode(buton5, ınput);
Pinmode(buton6, ınput);
Pinmode(buton7, ınput);
Pinmode(buton8, ınput);
Pinmode(buzzer, output);
}

Void loop()
{
İnt B1 = digitalread(buton1);
İnt b2 = digitalread(buton2);
İnt b3 = digitalread(buton3);
İnt b4 = digitalread(buton4);
İnt b5 = digitalread(buton5);
İnt b6 = digitalread(buton6);
İnt b7 = digitalread(buton7);
İnt b8 = digitalread(buton8);

İf(B1==1)
{
Tone(buzzer, 1000);
Delay(100);
Notone(buzzer);
}
İf(b2==1)
{
Tone(buzzer, 900);
Delay(100);
Notone(buzzer);
{
İf(b3==1)
{
Tone(buzzer, 800);
Delay(100);
Notone(buzzer);
}İf(b4==1)
{
Tone(buzzer, 700);
Delay(100);
Notone(buzzer);
}
İf(b5==1)
{
Tone(buzzer, 600);
Delay(100);
Notone(buzzer);
}
İf(b6==1)
{
Tone(buzzer, 500);
Delay(100);
Notone(buzzer);
}
İf(b7==1)
{
Tone(buzzer, 400);
Delay(100);
Notone(buzzer);
}
İf(b8==1)
{
Tone(buzzer, 300);
Delay(100);
Notone(buzzer);
}
}

Sorunu anlamıyorum çalıştırmak istediğimde hata veriyor.
 
Son düzenleyen: Moderatör:

Yeni konular

Geri
Yukarı