diff --git a/examples/X_NUCLEO_NFC05A1_HelloWorld/X_NUCLEO_NFC05A1_HelloWorld.ino b/examples/X_NUCLEO_NFC05A1_HelloWorld/X_NUCLEO_NFC05A1_HelloWorld.ino index 4d62ad7..cac5356 100644 --- a/examples/X_NUCLEO_NFC05A1_HelloWorld/X_NUCLEO_NFC05A1_HelloWorld.ino +++ b/examples/X_NUCLEO_NFC05A1_HelloWorld/X_NUCLEO_NFC05A1_HelloWorld.ino @@ -53,7 +53,6 @@ * INCLUDES ****************************************************************************** */ -#include "SPI.h" #include "nfc_utils.h" #include "rfal_nfc.h" #include "rfal_rfst25r3911.h" @@ -225,7 +224,6 @@ static const ndefTypeDumpTable typeDumpTable[] = { }; static char *hex2Str(unsigned char *data, size_t dataLen); -void IRQCallback(); /*! @@ -296,14 +294,11 @@ void setup() pinMode(LED_V_PIN, OUTPUT); pinMode(LED_AP2P_PIN, OUTPUT); pinMode(LED_FIELD_PIN, OUTPUT); - pinMode(IRQ_PIN, INPUT); pinMode(USER_BTN, INPUT); /* Check what is the Push Button State when the button is not pressed. It can change across families */ PushButtonState = (digitalRead(USER_BTN)) ? 0 : 1; - attachInterrupt(IRQ_PIN, IRQCallback, RISING); - Serial.println("Welcome to X-NUCLEO-NFC05A1"); ndefShowDemoUsage(); @@ -1797,9 +1792,4 @@ char *hex2Str(unsigned char *data, size_t dataLen) return hexStr[idx]; } -void IRQCallback() -{ - rfst25r3911b.st25r3911Isr(); -} - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/library.properties b/library.properties index f5d1f9e..21329bc 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=STM32duino X-NUCLEO-NFC05A1 -version=1.0.0 +version=1.0.1 author=STMicroelectronics maintainer=stm32duino sentence=Allows controlling the ST X-NUCLEO-NFC05A1 expansion board