hello, I have installed a "Seeed RFID" library in my program and I got this error message can you help me please
In file included from Projet_RFID.ino:3:0:
C:\Users\FOURDRAIN1\Documents\Arduino\libraries\RFID_Library-master/SeeedRFID.h:88:10: error: 'void SeeedRFID::listen()' cannot be overloaded
void listen();
^
C:\Users\FOURDRAIN1\Documents\Arduino\libraries\RFID_Library-master/SeeedRFID.h:86:10: error: with 'boolean SeeedRFID::listen()'
boolean listen();
^
Erreur lors de la compilation.
I look into my crystal ball and see that you have done... wait...hold on, I see blackness, nothing but blackness. We have no idea how to solve your problem because we can't see it. Please post your code using code tags. The code tags make the code look
like this
when posting source code files. It makes it easier to read, and can be copied with a single mouse click. Also, if you don't do it, some of the character sequences in the code can be misinterpreted by the forum code as italics or funny emoticons.
Unless the sketch is too large, it's better if you post your code, rather than attach it. When it's attached, we have to download it, create a folder then open your code in our IDE. Or perhaps open it in WordPad, which isn't very good for looking at code. And afterwards, the folder remains unless we navigate to the "Temp" folder and manually remove it. It's much easier to just view the code in your post.
Many questions can be answered by reading the documentation which is provided with the IDE, available under the help tab, or online here.
Yeah. you really need to look into how to ask your question well. Stack Overflow has a great guide:
Promise you'll check it out?
Okay. It looks like you might be using this library:
The problem is there are two definitions for the listen method. One that returns a boolean (line 86), the other that returns void (line 88). The compiler is telling you it can't do that (C++, the language behind Arduino sketches, doesn't allow two methods to differ only in their return type).
If you remove line 88 from SeeedRFID.h (in the library you installed) you'll probably be good to go. Line 88 is the one that looks like this:
void listen();
Not my library though, so no promises. But now you know how to ask a better question next time.