fix wrong SPI clock speed #545
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
|
|
||||||
#ifndef MFRC522_SPICLOCK
|
#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
|
#endif
|
||||||
|
|
||||||
// Firmware data for self-test
|
// Firmware data for self-test
|
||||||
|
|||||||
Reference in New Issue
Block a user