The two buttons and two LEDs on the nRF7002 DK are connected to dedicated GPIOs on the nRF5340 System on Chip (SoC).
Part | GPIO | Solder bridge |
---|---|---|
Button 1 | P1.08 | - |
Button 2 | P1.09 | - |
LED 1 | P1.06 | SB5 |
LED 2 | P1.07 | SB6 |
The buttons are active low, meaning that the input is connected to ground when the button is activated. The buttons have no external pull-up resistor, and therefore, to use the buttons, the P1.08–P1.09 pins must be configured as an input with an internal pull-up resistor.
The LEDs are active high, meaning that writing a logical one (1) to the output pin causes the LED to light up.