This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Blinky fail

With nRF52832 DK I have managed to compile this blinky example:

#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include "nrf_delay.h"
#include "nrf_gpio.h"

   const uint32_t led_pin1 = 13;


   int main(void) {

       nrf_gpio_cfg_output(led_pin1);
       nrf_gpio_pin_clear(led_pin1);


   while (true) {
        nrf_gpio_pin_toggle(led_pin1);
    nrf_delay_ms(1000);
    }
 }

Generated .hex file is not working.

image description

Parents Reply Children
No Data
Related