Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Revision 6:11cf998faa50, committed 2019-05-02
- Comitter:
- janusboandersen
- Date:
- Thu May 02 11:48:49 2019 +0000
- Parent:
- 5:b1ac24b6f25d
- Commit message:
- Remove pc. for printf - creates error on KL25Z
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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)