Statistics
| Branch: | Tag: | Revision:

mongoose / examples / nRF51 / http / myboard.h @ eaef5bd1

History | View | Annotate | Download (1.56 KB)

1
/*
2
 * Copyright (c) 2014-2016 Cesanta Software Limited
3
 * All rights reserved
4
 */
5

    
6
/* clang-format off */
7

    
8
#include "boards.h"
9

    
10
#define LED_ONE                             BSP_LED_0_MASK                                          /**< Is on when device is advertising. */
11
#define LED_TWO                             BSP_LED_1_MASK                                          /**< Is on when device is connected. */
12
#define LED_THREE                           BSP_LED_2_MASK
13
#define LED_FOUR                            BSP_LED_3_MASK
14
#define TCP_CONNECTED_LED                   BSP_LED_2_MASK                                          /**< Is on when a TCP connection is established. */
15
#define DISPLAY_LED_0                       BSP_LED_0_MASK                                          /**< LED used for displaying mod 4 of data payload received on UDP port. */
16
#define DISPLAY_LED_1                       BSP_LED_1_MASK                                          /**< LED used for displaying mod 4 of data payload received on UDP port. */
17
#define DISPLAY_LED_2                       BSP_LED_2_MASK                                          /**< LED used for displaying mod 4 of data payload received on UDP port. */
18
#define DISPLAY_LED_3                       BSP_LED_3_MASK                                          /**< LED used for displaying mod 4 of data payload received on UDP port. */
19
#define ALL_APP_LED                        (BSP_LED_0_MASK | BSP_LED_1_MASK | \
20
    BSP_LED_2_MASK | BSP_LED_3_MASK)                        /**< Define used for simultaneous operation of all application LEDs. */
21