#include "../src/rc522.h" #include #include "../lib/usart/src/usart.h" #include "string.h" #define uchar unsigned char #define uint unsigned int #define MAX_LEN 16 const int chipSelectPin = 10; const int NRSTPD = 5; uchar serNum[5]; uchar writeDate[16] ={'T', 'e', 'n', 'g', ' ', 'B', 'o', 0, 0, 0, 0, 0, 0, 0, 0,0}; uchar sectorKeyA[16] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; int main() { usart::init(1000000); printf("Hello"); PORTC |= (1<