LieBtrau / arduino-ntag

Arduino library to interface with the NXP NTAG (NT3H1101 and NT3H1201)
GNU General Public License v2.0
28 stars 7 forks source link

NDEF Writer in loop #19

Open dinhbaochu opened 1 month ago

dinhbaochu commented 1 month ago

I am trying with NT3H2111 but the Serial monitor return a series of "NDEF Writer", never end. I cannot read the message on phone/ I2C wired also.

LieBtrau commented 1 month ago

Hi dinhbaochu, What microcontroller are you using?

dinhbaochu commented 1 month ago

I am using Arduino Uno R3, as in your note, it has a 8bit AVR controller so RAM is not enough. Btw, I can run the ntagTest example with above controller. ( writing and reading example still not work)

LieBtrau commented 1 month ago

I think your code is crashing because of limited RAM. There's not much you can do about it. You'd better use something with more RAM and which works on 3V3 to avoid level shifting. I would use the Raspberry Pi Pico instead.