switch to HSPI

This commit is contained in:
Laura Hausmann 2023-04-21 22:41:33 +02:00
parent e6dafe8e66
commit f3c32c93e6
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -6,7 +6,7 @@
volatile int PN532Reader::irq = 0;
PN532Reader::PN532Reader(uint8_t clk, uint8_t miso, uint8_t mosi, uint8_t ss) {
pn532 = new Adafruit_PN532(clk, miso, mosi, ss);
pn532 = new Adafruit_PN532(ss, new SPIClass(HSPI));
}
void PN532Reader::begin() {