AGirs
GirsLite.config.h
Go to the documentation of this file.
1 
6 #pragma once
7 
11 #define PROGNAME "GirsLite"
12 
13 // Define Girs modules to implement, see http://www.harctoolbox.org/Girs.html
14 
18 #define TRANSMIT
19 
23 //#define RENDERER
24 
29 #define CAPTURE
30 
35 #define RECEIVE
36 
40 //#define DECODER
44 //#define DECODELED
45 
49 //#define LCD
50 
54 #define LED
55 
60 #define PARAMETERS
61 
66 #ifdef DOXYGEN
67 #define NAMED_COMMANDS
68 #endif
69 //#define NAMED_COMMANDS
70 
76 //#define DONT_REPORT_DECODES
77 
82 //#define CONFIGURABLE_LEDS
83 
87 //#define NON_MOD
88 
92 //#define RESET
93 
97 //#define FREEMEM
98 
102 //#define INFO
103 
107 //#define PRONTO
108 
109 #ifdef LED
110 
111 #ifdef TRANSMIT
112 
115 #define TRANSMITLED 4
116 #endif
117 
118 #ifdef RECEIVE
119 
122 #define RECEIVELED 3
123 #endif
124 
125 #ifdef CAPTURE
126 
129 #define CAPTURELED 3
130 #endif
131 
135 #define COMMANDLED 2
136 
137 #endif // LED
138 
139 
143 #define EOLCHAR '\r'
144 
145 // Hardware configuration
146 
147 // Define an LCD symbol to use, if desired.
148 #ifdef LCD
149 
154 #define LCD_0x3F_20_4
155 
160 #ifdef DOXYGEN
161 #define LCD_0x27_20_4
162 #endif
163 //#define LCD_0x27_20_4
164 
169 #ifdef DOXYGEN
170 #define LCD_0x27_16_2
171 #endif
172 //#define LCD_0x27_16_2
173 
174 #endif // LCD
175 
176 // Include one file describing the pin configuration
177 // Use one of the provided, or write your own.
178 #include <girs_hw_config.h> // Generic
179 
180 // Without PARAMETERS, these are really not defaults,
181 // they are the non-changeable values.
185 #define DEFAULT_BEGINTIMEOUT 10000UL // milliseconds
186 
191 #define DEFAULT_RECEIVE_ENDINGTIMEOUT 50L // milliseconds
192 #ifdef CAPTURE
193 
196 #define DEFAULT_CAPTURE_ENDINGTIMEOUT 100L // milliseconds
197 #endif
198 
202 #define DEFAULT_CAPTURESIZE 400U // must be even
203 
204 #ifdef RECEIVE
205 
208 #define IRRECEIVER_MARK_EXCESS 50
209 #endif
210 
211 #ifdef CAPTURE
212 
215 #define IRSENSOR_MARK_EXCESS -10
216 #endif
217 
218 #if !defined(ETHERNET) | defined(SERIAL_DEBUG)
219 
222 #define SERIALBAUD 115200
223 
227 #define SERIALTIMEOUT 5000L
228 #endif // !defined(ETHERNET) | defined(SERIAL_DEBUG)