I've been reading up on the datasheet for the NRF52840 and read it's possible to utilize a pull-down resistor for the GPIOs. The challenge seem to understand how to set the register correctly to set a pin with pull-down resistor.
Anyone solved this issue?
Use the Arduino command pinMode(pin, INPUT_PULLDOWN); or PULLUP
I've been testing it with a code and a switch, to see if it really does pull-down. And when I press on the switch the pin should connect to 3v3. But it still acts as a pull-down.
Show how you have connected the switch, you can check this with a multimeter, if puled up the pin will show 3.3v from ground.