Hi all,
i need to read the status on my GPIO where there is a led.
I have configured it like a:
nrf_drv_gpiote_out_config_t configLed = GPIOTE_CONFIG_OUT_SIMPLE(true);
nrf_drv_gpiote_out_init(LED_2, &configLed);
nrf_drv_gpiote_out_init(LED_1, &configLed);
nrf_drv_gpiote_out_init(LED_3, &configLed);
but if i try to read the value with nrf_gpio_pin_read() return always 0.
What does it means "
* @brief Function for reading the input level of a GPIO pin.
Note that the pin must have input connected for the value
returned from this function to be valid."