veysel28
Profesyonel Üye
- Katılım
- 10 Ara 2010
- Mesajlar
- 1,601
- Puanları
- 381
Elimde bulunan malzemeler.
Arduino mega 2560 r3
Arduino ethernet shield w5100
8 kanal röle kartı
Şimdi 8 röleyi cepten kontrol edebiliyorum.Benim bu sisteme ek olarak twitter dan sms almayı düşünüyorum.Yani bir sensör tetiklenince mesaj atacak.Linkte ki kodları yüklüyorum ama bazı hatalar alıyorum link ve hatalı kodlar aşağıda.Teşekkürler.
http://arduinoturkiye.com/arduino-ethernet-shield-thingspeak-api-twitter-mesaj-gonderme/
Arduino:1.6.5 (Windows 7), Kart:"Arduino Mega ADK"
twitter4:11: error: stray '\' in program
twitter4:11: error: stray '\' in program
twitter4:71: error: stray '\' in program
twitter4:71: error: stray '\' in program
twitter4:85: error: stray '\' in program
twitter4:85: error: stray '\' in program
twitter4:99: error: stray '\' in program
twitter4:99: error: stray '\' in program
twitter4:103: error: stray '\' in program
twitter4:103: error: stray '\' in program
twitter4:107: error: stray '\' in program
twitter4:107: error: stray '\' in program
twitter4:133: error: stray '\' in program
twitter4:133: error: stray '\' in program
twitter4:133: error: stray '\' in program
twitter4:139: error: stray '\' in program
twitter4:139: error: stray '\' in program
twitter4:139: error: stray '\' in program
twitter4:141: error: stray '\' in program
twitter4:141: error: stray '\' in program
twitter4:141: error: stray '\' in program
twitter4:141: error: stray '\' in program
twitter4:11: error: 'u201cY6G2ZLAYFWWLUOG8' was not declared in this scope
twitter4:19: error: redefinition of 'byte mac []'
twitter4:7: error: 'byte mac [6]' previously defined here
twitter4:21: error: redefinition of 'byte server []'
twitter4:9: error: 'byte server [4]' previously defined here
twitter4:23: error: redefinition of 'EthernetClient client'
twitter4:13: error: 'EthernetClient client' previously declared here
twitter4.ino: In function 'void setup()':
twitter4:63: error: redefinition of 'void setup()'
twitter4:25: error: 'void setup()' previously defined here
twitter4:71: error: 'u201cFailed' was not declared in this scope
twitter4:85: error: 'u201cReady' was not declared in this scope
twitter4.ino: In function 'void loop()':
twitter4:89: error: redefinition of 'void loop()'
twitter4:43: error: 'void loop()' previously defined here
twitter4:99: error: 'u201cMail' was not declared in this scope
twitter4:103: error: 'u201ctweeted' was not declared in this scope
twitter4:107: error: 'u201cUnable' was not declared in this scope
twitter4.ino: In function 'boolean sendMessage(char*)':
twitter4:133: error: 'u201cconnecting' was not declared in this scope
twitter4:139: error: 'u201cmaking' was not declared in this scope
twitter4:141: error: 'u201cPOST' was not declared in this scope
twitter4:141: error: 'apps' was not declared in this scope
twitter4:141: error: 'thingtweet' was not declared in this scope
twitter4:141: error: 'statuses' was not declared in this scope
twitter4:141: error: 'update' was not declared in this scope
twitter4:168: error: expected primary-expression before '}' token
twitter4:168: error: expected ';' before '}' token
twitter4.ino: At global scope:
twitter4:170: error: expected unqualified-id before 'else'
twitter4:174: error: 'client' does not name a type
twitter4:176: error: 'client' does not name a type
twitter4:178: error: expected unqualified-id before 'return'
twitter4:179: error: expected declaration before '}' token
stray '\' in program
Rapor daha fazla veri içermeli
"Derleme sırasında ayrıntılı çıktı göster"
Dosya > Tercihler'de etkinleştirilmiş.
Arduino mega 2560 r3
Arduino ethernet shield w5100
8 kanal röle kartı
Şimdi 8 röleyi cepten kontrol edebiliyorum.Benim bu sisteme ek olarak twitter dan sms almayı düşünüyorum.Yani bir sensör tetiklenince mesaj atacak.Linkte ki kodları yüklüyorum ama bazı hatalar alıyorum link ve hatalı kodlar aşağıda.Teşekkürler.
http://arduinoturkiye.com/arduino-ethernet-shield-thingspeak-api-twitter-mesaj-gonderme/
Arduino:1.6.5 (Windows 7), Kart:"Arduino Mega ADK"
twitter4:11: error: stray '\' in program
twitter4:11: error: stray '\' in program
twitter4:71: error: stray '\' in program
twitter4:71: error: stray '\' in program
twitter4:85: error: stray '\' in program
twitter4:85: error: stray '\' in program
twitter4:99: error: stray '\' in program
twitter4:99: error: stray '\' in program
twitter4:103: error: stray '\' in program
twitter4:103: error: stray '\' in program
twitter4:107: error: stray '\' in program
twitter4:107: error: stray '\' in program
twitter4:133: error: stray '\' in program
twitter4:133: error: stray '\' in program
twitter4:133: error: stray '\' in program
twitter4:139: error: stray '\' in program
twitter4:139: error: stray '\' in program
twitter4:139: error: stray '\' in program
twitter4:141: error: stray '\' in program
twitter4:141: error: stray '\' in program
twitter4:141: error: stray '\' in program
twitter4:141: error: stray '\' in program
twitter4:11: error: 'u201cY6G2ZLAYFWWLUOG8' was not declared in this scope
twitter4:19: error: redefinition of 'byte mac []'
twitter4:7: error: 'byte mac [6]' previously defined here
twitter4:21: error: redefinition of 'byte server []'
twitter4:9: error: 'byte server [4]' previously defined here
twitter4:23: error: redefinition of 'EthernetClient client'
twitter4:13: error: 'EthernetClient client' previously declared here
twitter4.ino: In function 'void setup()':
twitter4:63: error: redefinition of 'void setup()'
twitter4:25: error: 'void setup()' previously defined here
twitter4:71: error: 'u201cFailed' was not declared in this scope
twitter4:85: error: 'u201cReady' was not declared in this scope
twitter4.ino: In function 'void loop()':
twitter4:89: error: redefinition of 'void loop()'
twitter4:43: error: 'void loop()' previously defined here
twitter4:99: error: 'u201cMail' was not declared in this scope
twitter4:103: error: 'u201ctweeted' was not declared in this scope
twitter4:107: error: 'u201cUnable' was not declared in this scope
twitter4.ino: In function 'boolean sendMessage(char*)':
twitter4:133: error: 'u201cconnecting' was not declared in this scope
twitter4:139: error: 'u201cmaking' was not declared in this scope
twitter4:141: error: 'u201cPOST' was not declared in this scope
twitter4:141: error: 'apps' was not declared in this scope
twitter4:141: error: 'thingtweet' was not declared in this scope
twitter4:141: error: 'statuses' was not declared in this scope
twitter4:141: error: 'update' was not declared in this scope
twitter4:168: error: expected primary-expression before '}' token
twitter4:168: error: expected ';' before '}' token
twitter4.ino: At global scope:
twitter4:170: error: expected unqualified-id before 'else'
twitter4:174: error: 'client' does not name a type
twitter4:176: error: 'client' does not name a type
twitter4:178: error: expected unqualified-id before 'return'
twitter4:179: error: expected declaration before '}' token
stray '\' in program
Rapor daha fazla veri içermeli
"Derleme sırasında ayrıntılı çıktı göster"
Dosya > Tercihler'de etkinleştirilmiş.