The friendly Operating System for the Internet of Things
led.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 Freie Universit├Ąt Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
32 #ifndef LED_H
33 #define LED_H
34 
35 #include "board.h"
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
45 #ifndef LED0_ON
46 #define LED0_ON /* defined empty */
47 #define LED0_OFF /* defined empty */
48 #define LED0_TOGGLE /* defined empty */
49 #endif
50 
51 #ifndef LED1_ON
52 #define LED1_ON /* defined empty */
53 #define LED1_OFF /* defined empty */
54 #define LED1_TOGGLE /* defined empty */
55 #endif
56 
57 #ifndef LED2_ON
58 #define LED2_ON /* defined empty */
59 #define LED2_OFF /* defined empty */
60 #define LED2_TOGGLE /* defined empty */
61 #endif
62 
63 #ifndef LED3_ON
64 #define LED3_ON /* defined empty */
65 #define LED3_OFF /* defined empty */
66 #define LED3_TOGGLE /* defined empty */
67 #endif
68 
69 #ifndef LED4_ON
70 #define LED4_ON /* defined empty */
71 #define LED4_OFF /* defined empty */
72 #define LED4_TOGGLE /* defined empty */
73 #endif
74 
75 #ifndef LED5_ON
76 #define LED5_ON /* defined empty */
77 #define LED5_OFF /* defined empty */
78 #define LED5_TOGGLE /* defined empty */
79 #endif
80 
81 #ifndef LED6_ON
82 #define LED6_ON /* defined empty */
83 #define LED6_OFF /* defined empty */
84 #define LED6_TOGGLE /* defined empty */
85 #endif
86 
87 #ifndef LED7_ON
88 #define LED7_ON /* defined empty */
89 #define LED7_OFF /* defined empty */
90 #define LED7_TOGGLE /* defined empty */
91 #endif
92 
98 #define LED_ON(x) LED ## x ##_ON
99 #define LED_OFF(x) LED ## x ## _OFF
100 #define LED_TOGGLE(x) LED ## x ##_TOGGLE
101 
103 #ifdef __cplusplus
104 }
105 #endif
106 
107 #endif /* LED_H */
108