Trying to make a correct board definition for the nRF52840 dongle, it's working, but got hung up at the pin definitions: A couple of pins are not connected on the dongle. For example P0.03 is not connected.
Tried two things in the board definition:
1: create all the pins, and remove the not connected ones:
pins = pinutils.generate_pins(0,47) # 48 General Purpose I/O Pins.
...
pins.remove(pinutils.findpin(pins, "PD3", True)) # Not connected pin
2: start with empty pin list, and only add the ones really there:
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.
Hi!
Trying to make a correct board definition for the nRF52840 dongle, it's working, but got hung up at the pin definitions: A couple of pins are not connected on the dongle. For example P0.03 is not connected.
Tried two things in the board definition:
1: create all the pins, and remove the not connected ones:
2: start with empty pin list, and only add the ones really there:
But in both cases, there is still
PD3
. And looks like it is even working: callingread
+toggle
+read
toggles the value.Soo, is there a way to get rid of
PD3
?