Complete mbed library/workspace for HelloWorld_NFC02A1

Dependencies:   NDefLib X_NUCLEO_NFC02A1 mbed

Fork of HelloWorld_NFC02A1 by ST Expansion SW Team

X-NUCLEO-NFC02A1 Dynamic NFC Tag Expansion Board Firmware Package

Introduction

This firmware package includes Components Device Drivers, Board Support Package and example applications for STMicroelectronics X-NUCLEO-NFC02A1 Dynamic NFC Tag Expansion Board based on M24LR.

Example Application

This is just a simple "hello world" style program for the X-NUCLEO-NFC02A1 Dynamic NFC Tag Expansion Board. The program writes a URI link to the M24LR dynamic tag using the synchronous programming model. It then reads back the URI from the tag to display it on terminal. The URI can also be retrieved from an NFC enabled smartphone/tablet.

Files at this revision

API Documentation at this revision

Comitter:
Davidroid
Date:
Tue Jul 11 15:26:04 2017 +0000
Parent:
11:d0665d9c28a6
Child:
13:17208d6d9971
Commit message:
Updating with the new mbed library.

Changed in this revision

X_NUCLEO_NFC02A1.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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/X_NUCLEO_NFC02A1.lib	Fri May 19 07:51:59 2017 +0000
+++ b/X_NUCLEO_NFC02A1.lib	Tue Jul 11 15:26:04 2017 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/ST/code/X_NUCLEO_NFC02A1/#8c1eca41b3a9
+http://developer.mbed.org/teams/ST/code/X_NUCLEO_NFC02A1/#b876cdcf095a
--- a/main.cpp	Fri May 19 07:51:59 2017 +0000
+++ b/main.cpp	Tue Jul 11 15:26:04 2017 +0000
@@ -89,7 +89,7 @@
 {
   
   /*use default board pinout*/
-  DevI2C i2cChannel(XNucleoNFC02A1::DEFAULT_SDA_PIN,XNucleoNFC02A1::DEFAULT_SDL_PIN);
+  DevI2C *i2cChannel = new DevI2C(XNucleoNFC02A1::DEFAULT_SDA_PIN,XNucleoNFC02A1::DEFAULT_SDL_PIN);
   XNucleoNFC02A1 *nfcNucleo = XNucleoNFC02A1::instance(i2cChannel,
                                                            XNucleoNFC02A1::DEFAULT_GPO_PIN,XNucleoNFC02A1::DEFAULT_RF_DISABLE_PIN,
                                                            XNucleoNFC02A1::DEFAULT_LED1_PIN,XNucleoNFC02A1::DEFAULT_LED2_PIN,
--- a/mbed.bld	Fri May 19 07:51:59 2017 +0000
+++ b/mbed.bld	Tue Jul 11 15:26:04 2017 +0000
@@ -1,1 +1,1 @@
-https://mbed.org/users/mbed_official/code/mbed/builds/4eea097334d6
\ No newline at end of file
+https://mbed.org/users/mbed_official/code/mbed/builds/22da6e220af6
\ No newline at end of file