'I am not sure what you mean by the Arduino code block image.'
Was referencing your #6 image. Our posts crossed and I didn't get the correction done by the time your follow-up came through.
What pinMode() is used?
The ideas were worth a shot. It does seem odd though that the board just locks up. The additional image, links, verification and testing is helpful and should assist others.
It appears you are the pioneer (def pioneer: the guy with all the arrows in his back) here with the nRF52840DK.
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.
Was referencing your #6 image. Our posts crossed and I didn't get the correction done by the time your follow-up came through.
What pinMode() is used?
The ideas were worth a shot. It does seem odd though that the board just locks up. The additional image, links, verification and testing is helpful and should assist others.
It appears you are the pioneer (def pioneer: the guy with all the arrows in his back) here with the nRF52840DK.