Test example

Dependencies:   mbed

Fork of readMifare by Interactive Device Design

Revision:
7:016813c4a92a
Parent:
6:9109b95c3e97
Child:
9:be80c24599b5
--- a/main.cpp	Thu Mar 17 09:58:57 2016 +0000
+++ b/main.cpp	Thu Mar 17 09:59:37 2016 +0000
@@ -58,7 +58,7 @@
 
                 if (nfc.mifareclassic_ReadDataBlock(blockNumber, &data)) {
                     // Data seems to have been read ... spit it out
-                    pc.printf("Reading Block %d:\r\n\t", 128);
+                    pc.printf("Reading Block %d:\r\n\t", blockNumber);
                     nfc.PrintHexChar(&data, 16);
                     pc.printf("\r\n");