@Gordon, apologies for not replying initially. It all worked before and tried the above code as well and it changes the registers as intended.
This then means that the NFC pins that had stopped working as GPIO now work again which is what I was trying to prove all along.....
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.
@Gordon, apologies for not replying initially. It all worked before and tried the above code as well and it changes the registers as intended.
This then means that the NFC pins that had stopped working as GPIO now work again which is what I was trying to prove all along.....