0

Dependencies:   mbed NDefLib X_NUCLEO_NFC01A1

Dependents:   Projekt KPG Program_KPG_2019

Files at this revision

API Documentation at this revision

Comitter:
giovannivisentini
Date:
Thu Jan 28 14:01:40 2016 +0000
Parent:
10:06f15612ce28
Child:
12:40bdb51f8e95
Commit message:
update the library with the async api

Changed in this revision

NDefLib.lib Show annotated file Show diff for this revision Revisions of this file
X_NUCLEO_NFC01A1.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/NDefLib.lib	Fri Jan 22 09:10:12 2016 +0000
+++ b/NDefLib.lib	Thu Jan 28 14:01:40 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/ST-Expansion-SW-Team/code/NDefLib/#dbf3a61d70b3
+https://developer.mbed.org/teams/ST-Expansion-SW-Team/code/NDefLib/#ba0c186ae6d6
--- a/X_NUCLEO_NFC01A1.lib	Fri Jan 22 09:10:12 2016 +0000
+++ b/X_NUCLEO_NFC01A1.lib	Thu Jan 28 14:01:40 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/ST-Expansion-SW-Team/code/X_NUCLEO_NFC01A1/#10def2fefa8a
+https://developer.mbed.org/teams/ST-Expansion-SW-Team/code/X_NUCLEO_NFC01A1/#0b65a5813059
--- a/main.cpp	Fri Jan 22 09:10:12 2016 +0000
+++ b/main.cpp	Thu Jan 28 14:01:40 2016 +0000
@@ -34,7 +34,7 @@
   *
   ******************************************************************************
   */
-  
+
 #include "mbed.h"
 
 #include "X_NUCLEO_NFC01A1.h"
@@ -48,7 +48,7 @@
     
     //use default board pinout
     I2C i2cChannel(X_NUCLEO_NFC01A1::DEFAULT_SDA_PIN,X_NUCLEO_NFC01A1::DEFAULT_SDL_PIN);
-    X_NUCLEO_NFC01A1 *nfcNucleo = X_NUCLEO_NFC01A1::Instance(i2cChannel);
+    X_NUCLEO_NFC01A1 *nfcNucleo = X_NUCLEO_NFC01A1::Instance(i2cChannel,NULL);
     
     //retrieve the NdefLib interface
     NDefLib::NDefNfcTag& tag =nfcNucleo->getM24SR().getNDefTag();
@@ -82,4 +82,4 @@
             
     }else
         printf("Error open Session\n\r");
-}
+}
\ No newline at end of file