AGirs
defineMissingStuff.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef IRRECEIVER_1_PULLUP
4 #define IRRECEIVER_1_PULLUP_VALUE true
5 #else
6 #define IRRECEIVER_1_PULLUP_VALUE false
7 #endif
8 
9 #ifdef IRRECEIVER_2_PULLUP
10 #define IRRECEIVER_2_PULLUP_VALUE true
11 #else
12 #define IRRECEIVER_2_PULLUP_VALUE false
13 #endif
14 
15 #ifdef IRRECEIVER_3_PULLUP
16 #define IRRECEIVER_3_PULLUP_VALUE true
17 #else
18 #define IRRECEIVER_3_PULLUP_VALUE false
19 #endif
20 
21 #ifdef IRRECEIVER_4_PULLUP
22 #define IRRECEIVER_4_PULLUP_VALUE true
23 #else
24 #define IRRECEIVER_4_PULLUP_VALUE false
25 #endif
26 
27 #ifdef IRRECEIVER_5_PULLUP
28 #define IRRECEIVER_5_PULLUP_VALUE true
29 #else
30 #define IRRECEIVER_5_PULLUP_VALUE false
31 #endif
32 
33 #ifdef IRRECEIVER_6_PULLUP
34 #define IRRECEIVER_6_PULLUP_VALUE true
35 #else
36 #define IRRECEIVER_6_PULLUP_VALUE false
37 #endif
38 
39 #ifdef IRRECEIVER_7_PULLUP
40 #define IRRECEIVER_7_PULLUP_VALUE true
41 #else
42 #define IRRECEIVER_7_PULLUP_VALUE false
43 #endif
44 
45 #ifdef IRRECEIVER_8_PULLUP
46 #define IRRECEIVER_8_PULLUP_VALUE true
47 #else
48 #define IRRECEIVER_8_PULLUP_VALUE false
49 #endif
50 
51 #ifdef IRSENSOR_1_PULLUP
52 #define IRSENSOR_1_PULLUP_VALUE true
53 #else
54 #define IRSENSOR_1_PULLUP_VALUE false
55 #endif
56 
57 #ifdef IRSENSOR_2_PULLUP
58 #define IRSENSOR_2_PULLUP_VALUE true
59 #else
60 #define IRSENSOR_2_PULLUP_VALUE false
61 #endif
62 
63 #ifdef IRSENSOR_3_PULLUP
64 #define IRSENSOR_3_PULLUP_VALUE true
65 #else
66 #define IRSENSOR_3_PULLUP_VALUE false
67 #endif
68 
69 #ifdef IRSENSOR_4_PULLUP
70 #define IRSENSOR_4_PULLUP_VALUE true
71 #else
72 #define IRSENSOR_4_PULLUP_VALUE false
73 #endif
74 
75 #ifdef IRSENSOR_5_PULLUP
76 #define IRSENSOR_5_PULLUP_VALUE true
77 #else
78 #define IRSENSOR_5_PULLUP_VALUE false
79 #endif
80 
81 #ifdef IRSENSOR_6_PULLUP
82 #define IRSENSOR_6_PULLUP_VALUE true
83 #else
84 #define IRSENSOR_6_PULLUP_VALUE false
85 #endif
86 
87 #ifdef IRSENSOR_7_PULLUP
88 #define IRSENSOR_7_PULLUP_VALUE true
89 #else
90 #define IRSENSOR_7_PULLUP_VALUE false
91 #endif
92 
93 #ifdef IRSENSOR_8_PULLUP
94 #define IRSENSOR_8_PULLUP_VALUE true
95 #else
96 #define IRSENSOR_8_PULLUP_VALUE false
97 #endif
98 
99 #ifndef SIGNAL_LED_1
100 #define SIGNAL_LED_1 invalidPin
101 #endif
102 
103 #ifndef SIGNAL_LED_2
104 #define SIGNAL_LED_2 invalidPin
105 #endif
106 
107 #ifndef SIGNAL_LED_3
108 #define SIGNAL_LED_3 invalidPin
109 #endif
110 
111 #ifndef SIGNAL_LED_4
112 #define SIGNAL_LED_4 invalidPin
113 #endif
114 
115 #ifndef SIGNAL_LED_5
116 #define SIGNAL_LED_5 invalidPin
117 #endif
118 
119 #ifndef SIGNAL_LED_6
120 #define SIGNAL_LED_6 invalidPin
121 #endif
122 
123 #ifndef SIGNAL_LED_7
124 #define SIGNAL_LED_7 invalidPin
125 #endif
126 
127 #ifndef SIGNAL_LED_8
128 #define SIGNAL_LED_8 invalidPin
129 #endif
130 
131 #ifndef RECEIVELED
132 #define receiveled invalidPin
133 #endif
134 
135 #ifndef CAPTURELED
136 #define captureled invalidPin
137 #endif
138 
139 #ifndef TRANSMITLED
140 #define transmitled invalidPin
141 #endif
142 
143 #ifndef COMMANDLED
144 #define commandled invalidPin
145 #endif
146 
147 #ifndef UNUSED
148 #define UNUSED __attribute__ ((unused))
149 #endif
150 
151 #ifdef TRANSMIT
152 #define TRANSMIT_NAME Transmit
153 #else
154 #define TRANSMIT_NAME
155 #endif
156 
157 #ifdef CAPTURE
158 #define CAPTURE_NAME Capture
159 #else
160 #define CAPTURE_NAME
161 #endif
162 
163 #ifdef RECEIVE
164 #define RECEIVE_NAME Receive
165 #else
166 #define RECEIVE_NAME
167 #endif
168 
169 #ifdef RENDERER
170 #define RENDERER_NAME Renderer
171 #else
172 #define RENDERER_NAME
173 #endif
174 
175 #ifdef DECODER
176 #define DECODER_NAME Decoder
177 #else
178 #define DECODER_NAME
179 #endif
180 
181 #ifdef LED
182 #define LED_NAME Led
183 #else
184 #define LED_NAME
185 #endif
186 
187 #ifdef LCD
188 #define LCD_NAME Lcd
189 #else
190 #define LCD_NAME
191 #endif
192 
193 #ifdef NAMED_COMMANDS
194 #define NAMED_COMMANDS_NAME NamedCommands
195 #else
196 #define NAMED_COMMANDS_NAME
197 #endif
198 
199 #ifdef PRONTO
200 #define PRONTO_NAME Pronto
201 #else
202 #define PRONTO_NAME
203 #endif
204 
205 #ifdef TRANSMITTERS
206 #define TRANSMITTERS_NAME Transmitters
207 #else
208 #define TRANSMITTERS_NAME
209 #endif
210 
211 #ifdef PARAMETERS
212 #define PARAMETERS_NAME Parameters
213 #define PARAMETER_CONST
214 #else
215 #define PARAMETERS_NAME
216 #define PARAMETER_CONST const
217 #endif
218 
219 #ifdef CONFIGURABLE_LEDS
220 #define LED_PARAMETER_CONST
221 #else
222 #define LED_PARAMETER_CONST const
223 #endif
224 
225 #define QUOTE(str) #str
226 #define EXPAND_AND_QUOTE(str) QUOTE(str)
227 
228 #ifndef LCD_I2C_ADDRESS
229 #define LCD_I2C_ADDRESS -1
230 #endif
231 
232 #ifndef LCD_WIDTH
233 #define LCD_WIDTH -1
234 #endif
235 
236 #ifndef LCD_HEIGHT
237 #define LCD_HEIGHT -1
238 #endif
239 
240