use SS_PIN constant
This commit is contained in:
parent
34dee6d41e
commit
212eaca10d
1 changed files with 2 additions and 1 deletions
|
|
@ -26,8 +26,9 @@
|
|||
#include <MFRC522Debug.h>
|
||||
|
||||
#define LED_PIN 16
|
||||
#define SS_PIN 4
|
||||
|
||||
MFRC522DriverPinSimple ss_1_pin(4); // Configurable, take an unused pin, only HIGH/LOW required, must be different to SS 2.
|
||||
MFRC522DriverPinSimple ss_1_pin(SS_PIN); // Configurable, take an unused pin, only HIGH/LOW required, must be different to SS 2.
|
||||
|
||||
MFRC522DriverSPI driver_1{ss_1_pin};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue