mirror of
https://github.com/miguelbalboa/rfid.git
synced 2024-06-08 01:03:01 +03:00
fix wrong SPI clock speed #545
This commit is contained in:
parent
ea10e8a219
commit
34086ad99a
|
@ -19,7 +19,7 @@
|
|||
#include <SPI.h>
|
||||
|
||||
#ifndef MFRC522_SPICLOCK
|
||||
#define MFRC522_SPICLOCK SPI_CLOCK_DIV4 // MFRC522 accept upto 10MHz
|
||||
#define MFRC522_SPICLOCK (4000000u) // MFRC522 accept upto 10MHz, set to 4MHz.
|
||||
#endif
|
||||
|
||||
// Firmware data for self-test
|
||||
|
|
Loading…
Reference in New Issue
Block a user