E2PRO2 / Mbed 2 deprecated RFID-demo-team2

Dependencies:   mbed

Revision:
6:11cf998faa50
Parent:
5:b1ac24b6f25d
--- a/main.cpp	Thu May 02 11:46:17 2019 +0000
+++ b/main.cpp	Thu May 02 11:48:49 2019 +0000
@@ -82,16 +82,16 @@
     
     LedPower = !LedPower;    
     // Print Card UID to serial interface
-    pc.printf("Card UID: ");
+    printf("Card UID: ");
     for (uint8_t i = 0; i < RfChip.uid.size; i++)
     {
-      pc.printf(" %X02", RfChip.uid.uidByte[i]);
+      printf(" %X02", RfChip.uid.uidByte[i]);
     }
-    pc.printf("\n\r");
+    printf("\n\r");
 
     // Print Card type
     uint8_t piccType = RfChip.PICC_GetType(RfChip.uid.sak);
-    pc.printf("PICC Type: %s \n\r", RfChip.PICC_GetTypeName(piccType));
+    printf("PICC Type: %s \n\r", RfChip.PICC_GetTypeName(piccType));
     wait_ms(1000);
     
     //Turn off latch (Jan's addition)