Hilfe zu meinem Code: Fingerabdruck Türschloss-System

Hallo ich arbeite an einem Arduino Projekt… Allerdings erhalte ich einige Fehlermeldungen zu meinem Code.
Vielleicht habt ihr mir einen Vorschlag den Code einfacher zu gestalten…
Inspiriert hat mich folgendes Video:

Bei mir ist es so: ich halte meinen Finger an den Sensor und es tut sich nicht… das Magnetschloss bewegt sich nicht…
Würdet ihr mir helfen?

Die Fehlermeldungen:

libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::Adafruit_Fingerprint(HardwareSerial*, unsigned long)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::Adafruit_Fingerprint(HardwareSerial*, unsigned long)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::begin(unsigned long)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::writeStructuredPacket(Adafruit_Fingerprint_Packet const&)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::getStructuredPacket(Adafruit_Fingerprint_Packet*, unsigned int)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::checkPassword()'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::verifyPassword()'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::getImage()'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::image2Tz(unsigned char)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::createModel()'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::storeModel(unsigned int)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::loadModel(unsigned int)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::getModel()'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::deleteModel(unsigned int)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::emptyDatabase()'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::fingerFastSearch()'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::getTemplateCount()'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/Adafruit_Fingerprint_Sensor_Library/Adafruit_Fingerprint.cpp.o (symbol from plugin): In function `Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*, unsigned long)':
(.text+0x0): multiple definition of `Adafruit_Fingerprint::setPassword(unsigned long)'
sketch/fingerschlossZwei.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
/var/folders/tq/1dn25dh51v50d5c05_ph10zw0000gn/T//ccLHo2uX.ltrans0.ltrans.o: In function `main':
/private/var/folders/tq/1dn25dh51v50d5c05_ph10zw0000gn/T/AppTranslocation/A241DB80-DC1A-4B0B-8534-F1FF7D0C794E/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/main.cpp:43: undefined reference to `setup'
/private/var/folders/tq/1dn25dh51v50d5c05_ph10zw0000gn/T/AppTranslocation/A241DB80-DC1A-4B0B-8534-F1FF7D0C794E/d/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/main.cpp:46: undefined reference to `loop'
collect2: error: ld returned 1 exit status
exit status 1
Fehler beim Kompilieren für das Board Arduino/Genuino Uno.

Ich hoffe das ihr mir helfen könnt…

DANKE euch:)!

Adafruit_Fingerprint (1).cpp (13.6 KB)

Dein cpp ist Teil einer Lib und kein Arduino-Sketch.

Gruß Tommy

Hallo Tommy..
ich bewege mich komplett im Neuland..
Was könnte ich tun?

Danke dir!
Grüße

winweb:
Hallo Tommy..
ich bewege mich komplett im Neuland..
Was könnte ich tun?

Du musst einfach den richtigen Sketch (x.ino) auf den Arduino laden.
Da wir den nicht kennen, können wir dir auch nicht sagen, welcher das ist.