revk / ESP32-PN532

PN532 (HSU) drivers for ESP32 using ESP-IDF, and full PCB design for NFC reader.
GNU General Public License v3.0
56 stars 8 forks source link

Please make an example #1

Closed GeorgeFlorian closed 3 years ago

GeorgeFlorian commented 3 years ago

Hello.

I don't know if this is still maintained or not, but I would really love an example on how to use this library.

I am currently trying to integrate RFID1356MIFARE with ESP32-EVB but with no luck.

Thank you.

revk commented 3 years ago

It is used in https://github.com/revk/SolarSystem which should give a good example.

GeorgeFlorian commented 3 years ago

It is used in https://github.com/revk/SolarSystem which should give a good example.

I trust that it is, but I find it hard to follow. I can't find any pin definition, any Serial.begin(). I have no idea where it starts or where it ends. It is a little above my skill level.

Can you point me to the right files ? Thank you.

revk commented 3 years ago

pn532_init is where you tell it the uart and pins. It is probably worth reading the include file to start with.

revk commented 3 years ago

I think that answers the question.