Hi,
I want to read a card with Arduino micro + RC522, there is a function that I must give , pin RESET and pin SS from a Arduino Micro,
I have checked pinout of Arduino Micro and RESET is ICSP-5 and SPI SS .
Then,
#define RST_PIN ICSP-5
#define SS_PIN 10
'ICSP' was not declared in this scope
How I can say to software which pin is RESET?
-
ICSP-5 is interpreted as ICSP minus five.
-
Although a little outside my knowledge, it's my understanding that you can use any pin for the reset. So you can e.g. use
#define RST_PINĀ 4
and connect the reset of the reader to pin 4
just to add
reset_pin sends LOW signal to your RC522 to
a. initiate it when our system boots
b. reset your RC522 from unrecoverable state/crashed(locking up) condition