Make it possible to set SPI clock

Conditional definition of MFRC522_SPICLOCK.
This commit is contained in:
Alexey
2018-11-28 01:09:38 +08:00
committed by GitHub
parent c5269d6343
commit ada464c1cc

View File

@@ -83,7 +83,9 @@
#include <Arduino.h>
#include <SPI.h>
#ifndef MFRC522_SPICLOCK
#define MFRC522_SPICLOCK SPI_CLOCK_DIV4 // MFRC522 accept upto 10MHz
#endif
// Firmware data for self-test
// Reference values based on firmware version