Blinking an external LED on nrf9160DK

Dear Nordic Team, 

I am currently using nrf9160dk to blink an external LED that is connected to Pin0.14. However, I am unable to blink the LED with the code below. May I know how to solve this issue?blinky_test.zip

Best regards,

Yeo Rhi Khin

Parents
  • Dear Yeo,

    I am unable to blink the LED with the code below

    What happens when you try this? Are you able to build the code? I tried building but I ran into some build errors. Which nRF Connect SDK are you building for? 

    In the documentation for the standard blinky sample there is a section about adding board support that shows how to change the pin. If you add this to an overlay, and change from gpios = <&gpio0 13 GPIO_ACTIVE_LOW>

    to gpios = <&gpio0 14 GPIO_ACTIVE_LOW>, then you should hopefully see your LED on P0.14 flashing.

    Best regards,

    Håkon

Reply
  • Dear Yeo,

    I am unable to blink the LED with the code below

    What happens when you try this? Are you able to build the code? I tried building but I ran into some build errors. Which nRF Connect SDK are you building for? 

    In the documentation for the standard blinky sample there is a section about adding board support that shows how to change the pin. If you add this to an overlay, and change from gpios = <&gpio0 13 GPIO_ACTIVE_LOW>

    to gpios = <&gpio0 14 GPIO_ACTIVE_LOW>, then you should hopefully see your LED on P0.14 flashing.

    Best regards,

    Håkon

Children
No Data
Related