Tell us about yourself!

Complete Your Profile
  • tobyv3 commented on Nairod785's instructable NFC Ring Lock Box3 years ago
    NFC Ring Lock Box

    when i try to upload i get this error message back, any suggestions, thanks for whatever help you can offerArduino: 1.6.9 (Windows 10), Board: "Arduino Nano, ATmega328"C:\Users\mom\Documents\Arduino\libraries\PN532\PN532.cpp: In member function 'uint8_t PN532::mifareclassic_WriteNDEFURI(uint8_t, uint8_t, const char*)':C:\Users\mom\Documents\Arduino\libraries\PN532\PN532.cpp:551:56: 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}; ^C:\Users\mom\Documents\Arduino\libraries\PN532\PN532.cpp:551:77: warning: narrow...

    see more »

    when i try to upload i get this error message back, any suggestions, thanks for whatever help you can offerArduino: 1.6.9 (Windows 10), Board: "Arduino Nano, ATmega328"C:\Users\mom\Documents\Arduino\libraries\PN532\PN532.cpp: In member function 'uint8_t PN532::mifareclassic_WriteNDEFURI(uint8_t, uint8_t, const char*)':C:\Users\mom\Documents\Arduino\libraries\PN532\PN532.cpp:551:56: 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}; ^C:\Users\mom\Documents\Arduino\libraries\PN532\PN532.cpp:551:77: 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}; ^C:\Users\mom\Documents\Arduino\libraries\PN532\snep.cpp: In member function 'int16_t SNEP::read(uint8_t*, uint8_t, uint16_t)':C:\Users\mom\Documents\Arduino\libraries\PN532\snep.cpp:82:31: warning: left shift count >= width of type [enabled by default] uint32_t length = (buf[2] << 24) + (buf[3] << 16) + (buf[4] << 8) + buf[5]; ^C:\Users\mom\Documents\Arduino\libraries\PN532\snep.cpp:82:48: warning: left shift count >= width of type [enabled by default] uint32_t length = (buf[2] << 24) + (buf[3] << 16) + (buf[4] << 8) + buf[5]; ^C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-ar: unable to rename 'core\core.a'; reason: Permission deniedexit status 1Error compiling for board Arduino Nano.Invalid library found in C:\Program Files (x86)\Arduino\libraries\Nairod_files: C:\Program Files (x86)\Arduino\libraries\Nairod_filesInvalid library found in C:\Program Files (x86)\Arduino\libraries\Nairod_files: C:\Program Files (x86)\Arduino\libraries\Nairod_files

    View Instructable »