Hello Community
,
Iam building on a automated pc login if you touch an RFID tag to the rc522 reader. I am following this tutorial on youtube -> - YouTube <- but when I try to upload the final code the IDE gives me an error:
sketch_aug11b.ino:1:10: error: #include expects "FILENAME" or
sketch_aug11b.ino:2:10: error: #include expects "FILENAME" or
sketch_aug11b:26: error: stray '' in program
sketch_aug11b:36: error: stray '' in program
sketch_aug11b:7: error: 'MFRC522' does not name a type
sketch_aug11b.ino: In function 'void setup()':
sketch_aug11b:13: error: 'SPI' was not declared in this scope
sketch_aug11b:14: error: 'mfrc522' was not declared in this scope
sketch_aug11b.ino: In function 'void loop()':
sketch_aug11b:18: error: 'mfrc522' was not declared in this scope
sketch_aug11b:22: error: 'mfrc522' was not declared in this scope
sketch_aug11b:26: error: 'mfrc522' was not declared in this scope
sketch_aug11b:36: error: expected ;' before 'u2039' sketch_aug11b:36: error: 'u2039' was not declared in this scope sketch_aug11b:36: error: expected )' before numeric constant
sketch_aug11b:36: error: name lookup of 'i' changed for new ISO 'for' scoping
sketch_aug11b:36: error: using obsolete binding at 'i'
sketch_aug11b:36: error: expected `;' before ')' token
I dont know why this error happens and it would be great if you help me.
Here are some details:
-Sainsmart Leonardo
-RC522 NFC module
-Windows 7
-Arduino IDE 1.0.6
Thanks for your help.