Files
microchip-application-bmd38…/main.c
T
2023-05-04 23:16:45 +08:00

28 lines
314 B
C

#include <stdbool.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#include "nrf_delay.h"
#include "nrf_gpio.h"
#ifdef __cplusplus
}
#endif
int main(void)
{
nrf_gpio_cfg_output(13);
for (;;)
{
nrf_gpio_pin_set(13);
nrf_delay_ms(500);
nrf_gpio_pin_clear(13);
nrf_delay_ms(500);
}
}