/home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp: In member function 'void Adafruit_PN532::begin()':
/home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:71:28: error: 'SPI_CLOCK_DIV16' was not declared in this scope
define PN532_SPI_CLOCKDIV SPI_CLOCK_DIV16
^
/home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:190:27: note: in expansion of macro 'PN532_SPI_CLOCKDIV'
SPI.setClockDivider(PN532_SPI_CLOCKDIV);
^
/home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp: In member function 'uint8_t Adafruit_PN532::mifareclassic_WriteNDEFURI(uint8_t, uint8_t, const char)':
/home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:1045:53: warning: narrowing conversion of '(((int)len) + 5)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
uint8_t sectorbuffer1[16] = {0x00, 0x00, 0x03, len+5, 0xD1, 0x01, len+1, 0x55, uriIdentifier, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
^
/home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:1045:72: warning: narrowing conversion of '(((int)len) + 1)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
uint8_t sectorbuffer1[16] = {0x00, 0x00, 0x03, len+5, 0xD1, 0x01, len+1, 0x55, uriIdentifier, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
^
/home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp: In member function 'uint8_t Adafruit_PN532::ntag2xx_WriteNDEFURI(uint8_t, char, uint8_t)':
/home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:1413:8: warning: narrowing conversion of '(((int)len) + 5)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
len+5, / Payload Length (not including 0xFE trailer) /
^
/home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:1416:8: warning: narrowing conversion of '(((int)len) + 1)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
len+1, / Payload len /
^
Using library Wire at version 1.0 in folder: /home/dean/.arduino15/packages/adafruit/hardware/samd/1.2.0/libraries/Wire
Using library SPI at version 1.0 in folder: /home/dean/.arduino15/packages/adafruit/hardware/samd/1.2.0/libraries/SPI
Using library Adafruit_PN532 at version 1.0.0 in folder: /home/dean/Arduino/libraries/Adafruit_PN532
exit status 1
Error compiling for board Adafruit Grand Central M4 (SAMD51).
/home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp: In member function 'void Adafruit_PN532::begin()': /home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:71:28: error: 'SPI_CLOCK_DIV16' was not declared in this scope
define PN532_SPI_CLOCKDIV SPI_CLOCK_DIV16
/home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:190:27: note: in expansion of macro 'PN532_SPI_CLOCKDIV' SPI.setClockDivider(PN532_SPI_CLOCKDIV); ^ /home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp: In member function 'uint8_t Adafruit_PN532::mifareclassic_WriteNDEFURI(uint8_t, uint8_t, const char)': /home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:1045:53: warning: narrowing conversion of '(((int)len) + 5)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] uint8_t sectorbuffer1[16] = {0x00, 0x00, 0x03, len+5, 0xD1, 0x01, len+1, 0x55, uriIdentifier, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; ^ /home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:1045:72: warning: narrowing conversion of '(((int)len) + 1)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] uint8_t sectorbuffer1[16] = {0x00, 0x00, 0x03, len+5, 0xD1, 0x01, len+1, 0x55, uriIdentifier, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; ^ /home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp: In member function 'uint8_t Adafruit_PN532::ntag2xx_WriteNDEFURI(uint8_t, char, uint8_t)': /home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:1413:8: warning: narrowing conversion of '(((int)len) + 5)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] len+5, / Payload Length (not including 0xFE trailer) / ^ /home/dean/Arduino/libraries/Adafruit_PN532/Adafruit_PN532.cpp:1416:8: warning: narrowing conversion of '(((int)len) + 1)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] len+1, / Payload len / ^ Using library Wire at version 1.0 in folder: /home/dean/.arduino15/packages/adafruit/hardware/samd/1.2.0/libraries/Wire Using library SPI at version 1.0 in folder: /home/dean/.arduino15/packages/adafruit/hardware/samd/1.2.0/libraries/SPI Using library Adafruit_PN532 at version 1.0.0 in folder: /home/dean/Arduino/libraries/Adafruit_PN532 exit status 1 Error compiling for board Adafruit Grand Central M4 (SAMD51).