BdF-LabSec / kpn532

Arduino PN532 proxy (mini relay)
7 stars 1 forks source link

Use Arduino Leonardo Board instead #1

Open cbDragon opened 2 weeks ago

cbDragon commented 2 weeks ago

Hey guys, I am really appreciated with your great work about the PN532. I am a novice in Arduino field. However, I wonder if I use Arduino Leonardo to do the experiment, anything need to be changed? For example, the wire connection I found in the elechouse pdf may be different between this two development board.

gentilkiwi commented 2 weeks ago

I never used an Arduino Leonardo board before, so cannot be sure... but as boards follow Arduino connector standards:

it should work.

SPI

image

https://docs.arduino.cc/language-reference/en/functions/communication/SPI/

Interrupts

image

https://docs.arduino.cc/language-reference/en/functions/external-interrupts/attachInterrupt/

cbDragon commented 2 weeks ago

Thanks so much, I try to follow your advices.