Merge pull request #440 from aosodoev/patch-1
Conditional definition of MFRC522_SPICLOCK. (Make it possible to set SPI clock)
This commit is contained in:
@@ -83,7 +83,9 @@
|
|||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
|
|
||||||
|
#ifndef MFRC522_SPICLOCK
|
||||||
#define MFRC522_SPICLOCK SPI_CLOCK_DIV4 // MFRC522 accept upto 10MHz
|
#define MFRC522_SPICLOCK SPI_CLOCK_DIV4 // MFRC522 accept upto 10MHz
|
||||||
|
#endif
|
||||||
|
|
||||||
// Firmware data for self-test
|
// Firmware data for self-test
|
||||||
// Reference values based on firmware version
|
// Reference values based on firmware version
|
||||||
|
|||||||
Reference in New Issue
Block a user