![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
NFC With peripherals
Dependencies: EthernetInterface_NFC HTTPClient_NFC LibPN532_NFC mbed-rtos mbed
Fork of NFC_Secure_Access by
Diff: main.cpp
- Revision:
- 3:17dd24c1b0c3
- Parent:
- 2:881a9a0da73f
- Child:
- 4:25a67f63d5a3
--- a/main.cpp Thu Apr 26 18:40:34 2018 +0000 +++ b/main.cpp Fri Apr 27 13:28:48 2018 +0000 @@ -95,11 +95,12 @@ strcat(str, "Aniket's Card Accessed"); value = 1; } else { + + pc.printf("\n\rNo access for this card\n\r"); + strcat(str,"Invalid Card Accessed"); Buzzer=1; wait(0.2); Buzzer=0; - pc.printf("\n\rNo access for this card\n\r"); - strcat(str,"Invalid Card Accessed"); value = 404; } HTTPClient http;