I'm planning to connect The nRF52840 MCU GPIO in series to a 1.8V 20mA LED and a Resistor then to ground.
Would the current from the MCU be sufficient to power the LED ?
Thank you
I'm planning to connect The nRF52840 MCU GPIO in series to a 1.8V 20mA LED and a Resistor then to ground.
Would the current from the MCU be sufficient to power the LED ?
Thank you
Both GPIO codes don't work
As with debugging any problem, you need to take this one step at a time.
For a start, have you tried using an unmodified SDK example on a DevKit? That is always the best place to start - giving you a known-good basis to work from.
In your circuit: