Just to add, you can see that the NFCrx event handles the write, but NFC has a really odd way of showing the end of the write (it writes something at the beginning and then re-writes something at the end) - it's much easier to just look at the full contents of the data when you know the writing has finished, rather than trying to handle every single 4 byte write that occurs.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Just to add, you can see that the
NFCrx
event handles the write, but NFC has a really odd way of showing the end of the write (it writes something at the beginning and then re-writes something at the end) - it's much easier to just look at the full contents of the data when you know the writing has finished, rather than trying to handle every single 4 byte write that occurs.