miguelbalboa / rfid

Arduino RFID Library for MFRC522
The Unlicense
2.75k stars 1.43k forks source link

adding HSPI support #513

Closed octopic closed 4 years ago

octopic commented 4 years ago

use on ESP32 (suitable for other mutliple SPI microcontrollers):

include

include

SPIClass * hspi = NULL;

define RST_PIN 27

define SS_PIN 15

MFRC522 *rfid; void setup() { hspi = new SPIClass(HSPI); hspi->begin(); rfid = new MFRC522(SS_PIN, RST_PIN, hspi); rfid->PCD_Init(); // Init MFRC522 }

Q A
Bug fix? no
New feature? yes
Doc update? no
BC breaks? no
Deprecations? no
Fixed tickets #...
Rotzbua commented 4 years ago

I implemented this idea at the fork.