/** * @file custom_board.h * @author imi415 * @brief Custom board file for Waveshare BLE-400 board. * @version 0.1 * @date 2021-11-24 * * @copyright Copyright (c) 2021 imi415 * */ #ifndef CUSTOM_BOARD_H #define CUSTOM_BOARD_H #ifdef __cplusplus extern "C" { #endif #include "nrf_gpio.h" // LEDs definitions for Waveshare BLE-400 #define LED_START 18 #define LED_0 18 #define LED_1 19 #define LED_2 20 #define LED_3 21 #define LED_4 22 #define LED_STOP 22 #define LEDS_ACTIVE_STATE 1 #define LEDS_INV_MASK LEDS_MASK #define LED_0_MASK (1<