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 NDefLib X_NUCLEO_NFC01A1
Diff: main.cpp
- Revision:
- 11:925a5a491a5c
- Parent:
- 7:435297dd022d
- Child:
- 14:1b99908360c5
--- 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