Downloading library PN532 by seeed but platformio still doesnt detect it

Open the PN532 folder. What are the files inside it?

What is the platformio.ini?

; PlatformIO Project Configuration File
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
; Please visit documentation for the other options and examples

platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
monitor_filters = send_on_enter
lib_deps = 
    mbed-seeed/PN532 @ 0.0.0+sha.85bfede025da
    bodmer/TFT_eSPI @ 2.5.43
    lsatan/SmartRC-CC1101-Driver-Lib @ 2.5.7
    sui77/rc-switch @ 2.6.4

This library is for framework = mbed, not framework = arduino. It will get ignored in the build. You have to carefully look at the comaptibility chart of the library and not just pick the first library that comes up when searching for “PN532”.

Please use a proper PN532 Arduino library, like:

and follow their examples.

The search term for that in the registry would be PN532 framework:"arduino", or use the GUI filter.


i picked this specific library because it allowed me to work with NDEF and as far as i know the adafruit library doesnt do that, theres another library i used when using the arduino ide which was made by elechouse but i cant find it on platformio

If it’s we’re talking about, just download that repository and put all these folders into lib/ (so that it has lib/NDEF, lib/PN532, lib/PN532_HSU etc). Delete the old PN532 library from the lib_deps line and delete the .pio folder too. Then build again.

thank you, this worked