Arduino PIR Sensörü ile Hırsız Alarmı Nasıl Yapılır?

mertomrg

Öğrenci
Katılım
7 Temmuz 2019
Mesajlar
44
Reaksiyon puanı
12
Puanları
8

Yukarıdaki linkteki hırsız alarmı ile ilgili bölümdeki süreçleri yerine getirdim. (Kablo bağlama vs.)

Ancak işin kodlama kısmına gelince sitedeki kodlamanın bitmediğini görüyorum;
Yardımcı olabilir misiniz?

Aldığım hata mesajı:
Arduino:1.8.12 (Windows 7), Kart:"Arduino Uno"

C:\Users\secret\Desktop\sketch_may23a\sketch_may23a\sketch_may23a.ino: In function 'void playTone(long int, int)':

sketch_may23a:45:10: error: expected ')' at end of input

while (elapsed_time

^~~~~~~~~~~~

sketch_may23a:45:10: error: expected statement at end of input

sketch_may23a:45:10: error: expected '}' at end of input

exit status 1
expected ')' at end of input

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
 
Üst