Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Error compiling sketch in Arduino IDE #26

Closed
Slava0096 opened this issue Mar 16, 2020 · 2 comments
Closed

Error compiling sketch in Arduino IDE #26

Slava0096 opened this issue Mar 16, 2020 · 2 comments

Comments

@Slava0096
Copy link

Hello.
Compiling an example PN5180-Library.ino. Gives an error message. What needs to be done to fix it?

Arduino: 1.8.12 (Linux), Плата:"Arduino Nano, ATmega328P (Old Bootloader)"

/home/slava/Arduino/libraries/PN5180-Library-master/PN5180FeliCa.cpp: In member function 'uint8_t PN5180FeliCa::pol_req(uint8_t*)':
/home/slava/Arduino/libraries/PN5180-Library-master/PN5180FeliCa.cpp:82:26: error: no matching function for call to 'PN5180FeliCa::readData(int, uint8_t*&)'
if (!readData(20, buffer))
^
In file included from /home/slava/Arduino/libraries/PN5180-Library-master/PN5180FeliCa.h:22:0,
from /home/slava/Arduino/libraries/PN5180-Library-master/PN5180FeliCa.cpp:22:
/home/slava/Arduino/libraries/PN5180-Library-master/PN5180.h:102:13: note: candidate: uint8_t* PN5180::readData(int)
uint8_t * readData(int len);
^~~~~~~~
/home/slava/Arduino/libraries/PN5180-Library-master/PN5180.h:102:13: note: candidate expects 1 argument, 2 provided
exit status 1

@ATrappmann
Copy link
Owner

ATrappmann commented Mar 17, 2020 via email

@Slava0096
Copy link
Author

Hello.
Now everything is working.
Thank you very much.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants