The led is not blinking or turning on in nrf52840 dk board

Hi I am trying to do the led blinking in nrf52840 but the led is not even turning on i have given the code below can any body help me out.

nrf_gpio_cfg_output(14);

nrf_gpio_cfg_output(15);

nrf_gpio_cfg_output(16);
nrf_gpio_cfg_output(13);
while (true)
{

nrf_gpio_pin_clear(13);
nrf_gpio_pin_set(14);
nrf_gpio_pin_set(15);
nrf_gpio_pin_set(16);
printf("Ae\r\n");
nrf_delay_ms(100);

}

Parents
  • Actually the board was given to the local service people in banglore. now i am trying to read a differentia adc and to display the voltage in the serial monitor without using the log function how can i do in can you please help me out in this differential adc

  • Nagaraj JP said:
    now i am trying to read a differentia adc and to display the voltage in the serial monitor without using the log function how can i do in can you please help me out in this differential adc

    If you would like to print something to the serial terminal without using the logger you may do so by using the app_uart library, or the UART driver directly. Alternatively, you could make sure to enable RETARGET_ENABLED in your sdk_config.h, and then use the printf function as normal to display your data in the serial logger, after you have initialized the UART peripheral.
    You could see how this can be done in the BLE NUS example.

    In general, if your new issues or questions diverge from the original topic of the ticket I will have to ask that you open another ticket for the new matter.

    Best regards,
    Karl

  • thankyou i will check it out.

    In general, if your new issues or questions diverge from the original topic of the ticket I will have to ask that you open another ticket for the new matter.

    yes sure i will make an seperate ticket for this thankyou

Reply Children
No Data
Related