Added experimental makepkg-update-checksums.sh
[mirrors/Programs.git] / c / tv-b-gone / NAcodes.c
CommitLineData
21c4e167
H
1#include <avr/io.h> // this contains all the IO port definitions\r
2#include <avr/pgmspace.h> // definitions or keeping constants in program memory\r
3#include "main.h"\r
4\r
5// table of POWER codes\r
6\r
7#define freq_to_timerval(x) ((F_CPU / x - 1 )/ 2)\r
8\r
9 \r
10// Code 000 -- Sony, Baur, Neckermann, Otto Versand, Palladium, Quelle, SEI, Sinudyne, Sonolor, Universum\r
11const struct powercode sonyCode PROGMEM = {\r
12 freq_to_timerval(37470), // 37.47 KHz \r
13 {{245, 60},\r
14 {123, 60},\r
15 {61 , 60},\r
16 {123, 60},\r
17 {61 , 60},\r
18 {123, 60},\r
19 {61 , 60},\r
20 {61 , 60},\r
21 {123, 60},\r
22 {61 , 60},\r
23 {61 , 60},\r
24 {61 , 60},\r
25 {61 , 2759},\r
26 {245, 60},\r
27 {123, 60},\r
28 {61 , 60},\r
29 {123, 60},\r
30 {61 , 60},\r
31 {123, 60},\r
32 {61 , 60},\r
33 {61 , 60},\r
34 {123, 60},\r
35 {61 , 60},\r
36 {61 , 60},\r
37 {61 , 60},\r
38 {61 , 0}// end of code\r
39 }\r
40};\r
41\r
42//Code 001 - Proscan, RCA, Curtis Mathes, Dimensia, GE, JC Penney, LXI, Radio Shack/Realistic, Sears, Wards\r
43const struct powercode rcaCode PROGMEM = {\r
44 freq_to_timerval(55600), // 55.6 KHz \r
45 {{ 411, 410 },\r
46 { 52, 205 },\r
47 { 52, 205 },\r
48 { 52, 205 },\r
49 { 52, 205 },\r
50 { 52, 102 },\r
51 { 52, 102 },\r
52 { 52, 205 },\r
53 { 52, 102 },\r
54 { 52, 205 },\r
55 { 52, 102 },\r
56 { 52, 205 },\r
57 { 52, 102 },\r
58 { 52, 102 },\r
59 { 52, 102 },\r
60 { 52, 102 },\r
61 { 52, 102 },\r
62 { 52, 205 },\r
63 { 52, 205 },\r
64 { 52, 102 },\r
65 { 52, 205 },\r
66 { 52, 102 },\r
67 { 52, 205 },\r
68 { 52, 102 },\r
69 { 52, 205 },\r
70 { 52, 821 },\r
71 { 411, 410},\r
72 { 52, 205},\r
73 { 52, 205},\r
74 { 52, 205},\r
75 { 52, 205},\r
76 { 52, 102},\r
77 { 52, 102},\r
78 { 52, 205},\r
79 { 52, 102},\r
80 { 52, 205},\r
81 { 52, 102},\r
82 { 52, 205},\r
83 { 52, 102},\r
84 { 52, 102},\r
85 { 52, 102},\r
86 { 52, 102},\r
87 { 52, 102},\r
88 { 52, 205},\r
89 { 52, 205},\r
90 { 52, 102},\r
91 { 52, 205},\r
92 { 52, 102},\r
93 { 52, 205},\r
94 { 52, 102},\r
95 { 52, 205},\r
96 { 52, 0}\r
97 }\r
98};\r
99\r
100// Code 002 -- Panasonic\r
101const struct powercode panasonicCode PROGMEM = {\r
102 freq_to_timerval(36130), // 36.13 KHz\r
103 {{ 358, 179 },\r
104 { 44, 45 },\r
105 { 44, 135 },\r
106 { 44, 45 },\r
107 { 44, 45 },\r
108 { 44, 45 },\r
109 { 44, 45 },\r
110 { 44, 45 },\r
111 { 44, 45 },\r
112 { 44, 45 },\r
113 { 44, 45 },\r
114 { 44, 45 },\r
115 { 44, 45 },\r
116 { 44, 45 },\r
117 { 44, 135 },\r
118 { 44, 45 },\r
119 { 44, 45 },\r
120 { 44, 45 },\r
121 { 44, 45 },\r
122 { 44, 45 },\r
123 { 44, 45 },\r
124 { 44, 45 },\r
125 { 44, 45 },\r
126 { 44, 45 },\r
127 { 44, 135 },\r
128 { 44, 45 },\r
129 { 44, 45 },\r
130 { 44, 45 },\r
131 { 44, 45 },\r
132 { 44, 45 },\r
133 { 44, 45 },\r
134 { 44, 45 },\r
135 { 44, 45 },\r
136 { 44, 135 },\r
137 { 44, 45 },\r
138 { 44, 135 },\r
139 { 44, 135 },\r
140 { 44, 135 },\r
141 { 44, 135 },\r
142 { 44, 45 },\r
143 { 44, 45 },\r
144 { 44, 135 },\r
145 { 44, 45 },\r
146 { 44, 135 },\r
147 { 44, 135 },\r
148 { 44, 135 },\r
149 { 44, 135 },\r
150 { 44, 45 },\r
151 { 44, 135 },\r
152 { 44, 7720 },\r
153 { 358, 180 },\r
154 { 44, 45 },\r
155 { 44, 135 },\r
156 { 44, 45 },\r
157 { 44, 45 },\r
158 { 44, 45 },\r
159 { 44, 45 },\r
160 { 44, 45 },\r
161 { 44, 45 },\r
162 { 44, 45 },\r
163 { 44, 45 },\r
164 { 44, 45 },\r
165 { 44, 45 },\r
166 { 44, 45 },\r
167 { 44, 135 },\r
168 { 44, 45 },\r
169 { 44, 45 },\r
170 { 44, 45 },\r
171 { 44, 45 },\r
172 { 44, 45 },\r
173 { 44, 45 },\r
174 { 44, 45 },\r
175 { 44, 45 },\r
176 { 44, 45 },\r
177 { 44, 135 },\r
178 { 44, 45 },\r
179 { 44, 45 },\r
180 { 44, 45 },\r
181 { 44, 45 },\r
182 { 44, 45 },\r
183 { 44, 45 },\r
184 { 44, 45 },\r
185 { 44, 45 },\r
186 { 44, 135 },\r
187 { 44, 45 },\r
188 { 44, 135 },\r
189 { 44, 135 },\r
190 { 44, 135 },\r
191 { 44, 135 },\r
192 { 44, 45 },\r
193 { 44, 45 },\r
194 { 44, 135 },\r
195 { 44, 45 },\r
196 { 44, 135 },\r
197 { 44, 135 },\r
198 { 44, 135 },\r
199 { 44, 135 },\r
200 { 44, 45 },\r
201 { 44, 135 },\r
202 { 44, 0 }}\r
203};\r
204\r
205// Code 003 -- Sharp\r
206const struct powercode sharpCode PROGMEM = {\r
207 freq_to_timerval( 37470), // 37.47 KHz\r
208 {{ 28, 189 },\r
209 { 29, 81 },\r
210 { 29, 81 },\r
211 { 29, 81 },\r
212 { 29, 81 },\r
213 { 29, 81 },\r
214 { 29, 189 },\r
215 { 29, 189 },\r
216 { 29, 81 },\r
217 { 29, 189 },\r
218 { 29, 81 },\r
219 { 29, 81 },\r
220 { 29, 81 },\r
221 { 29, 189 },\r
222 { 29, 81 },\r
223 { 29, 4670 },\r
224 { 29, 189 },\r
225 { 29, 81 },\r
226 { 29, 81 },\r
227 { 29, 81 },\r
228 { 29, 81 },\r
229 { 29, 189 },\r
230 { 29, 81 },\r
231 { 29, 81 },\r
232 { 29, 189 },\r
233 { 29, 81 },\r
234 { 29, 189 },\r
235 { 29, 189 },\r
236 { 29, 189 },\r
237 { 29, 81 },\r
238 { 29, 189 },\r
239 { 29, 4670 },\r
240 { 29, 189 },\r
241 { 29, 81 },\r
242 { 29, 81 },\r
243 { 29, 81 },\r
244 { 29, 81 },\r
245 { 29, 81 },\r
246 { 29, 189 },\r
247 { 29, 189 },\r
248 { 29, 81 },\r
249 { 29, 189 },\r
250 { 29, 81 },\r
251 { 29, 81 },\r
252 { 29, 81 },\r
253 { 29, 189 },\r
254 { 29, 81 },\r
255 { 29, 4670 },\r
256 { 29, 189 },\r
257 { 29, 81 },\r
258 { 29, 81 },\r
259 { 29, 81 },\r
260 { 29, 81 },\r
261 { 29, 189 },\r
262 { 29, 81 },\r
263 { 29, 81 },\r
264 { 29, 189 },\r
265 { 29, 81 },\r
266 { 29, 189 },\r
267 { 29, 189 },\r
268 { 29, 189 },\r
269 { 29, 81 },\r
270 { 29, 189 },\r
271 { 29, 0 }}\r
272};\r
273\r
274// Code 004 -- Toshiba, Apex\r
275const struct powercode toshibaCode PROGMEM = {\r
276 freq_to_timerval( 37470), // 37.47 KHz\r
277 {{ 924, 464 },\r
278 { 58, 57 },\r
279 { 58, 57 },\r
280 { 58, 57 },\r
281 { 58, 57 },\r
282 { 58, 57 },\r
283 { 58, 57 },\r
284 { 58, 173 },\r
285 { 58, 57 },\r
286 { 58, 173 },\r
287 { 58, 173 },\r
288 { 58, 173 },\r
289 { 58, 173 },\r
290 { 58, 173 },\r
291 { 58, 173 },\r
292 { 58, 57 },\r
293 { 58, 173 },\r
294 { 58, 57 },\r
295 { 58, 173 },\r
296 { 58, 57 },\r
297 { 58, 57 },\r
298 { 58, 173 },\r
299 { 58, 57 },\r
300 { 58, 57 },\r
301 { 58, 57 },\r
302 { 58, 173 },\r
303 { 58, 57 },\r
304 { 58, 173 },\r
305 { 58, 173 },\r
306 { 58, 57 },\r
307 { 58, 173 },\r
308 { 58, 173 },\r
309 { 58, 173 },\r
310 { 58, 4054 },\r
311 { 926, 230 },\r
312 { 58, 9880 },\r
313 { 926, 230 },\r
314 { 58, 0 }, \r
315 }\r
316};\r
317\r
318// Code 005 -- Philips, Grundig, Pye\r
319const struct powercode philipsCode PROGMEM = {\r
320 freq_to_timerval( 34800), // 37.47 KHz\r
321 { { 92, 92 },\r
322 { 184, 92 },\r
323 { 92, 92 },\r
324 { 92, 92 },\r
325 { 92, 92 },\r
326 { 92, 92 },\r
327 { 92, 92 },\r
328 { 92, 92 },\r
329 { 92, 184 },\r
330 { 92, 92 },\r
331 { 184, 92 },\r
332 { 92, 9216 },\r
333 { 92, 92 },\r
334 { 184, 92 },\r
335 { 92, 92 },\r
336 { 92, 92 },\r
337 { 92, 92 },\r
338 { 92, 92 },\r
339 { 92, 92 },\r
340 { 92, 92 },\r
341 { 92, 184 },\r
342 { 92, 92 },\r
343 { 184, 92 },\r
344 { 92, 0 },\r
345 }\r
346};\r
347\r
348// Code 006 -- Samsung\r
349const struct powercode samsungCode PROGMEM = {\r
350 freq_to_timerval( 37470), // 37.47 KHz\r
351 {{ 462, 476 },\r
352 { 53, 175 },\r
353 { 53, 175 },\r
354 { 53, 175 },\r
355 { 53, 62 },\r
356 { 53, 62 },\r
357 { 53, 62 },\r
358 { 53, 62 },\r
359 { 53, 62 },\r
360 { 53, 175 },\r
361 { 53, 175 },\r
362 { 53, 175 },\r
363 { 53, 62 },\r
364 { 53, 62 },\r
365 { 53, 62 },\r
366 { 53, 62 },\r
367 { 53, 62 },\r
368 { 53, 62 },\r
369 { 53, 175 },\r
370 { 53, 62 },\r
371 { 53, 62 },\r
372 { 53, 62 },\r
373 { 53, 62 },\r
374 { 53, 62 },\r
375 { 53, 62 },\r
376 { 53, 175 },\r
377 { 53, 62 },\r
378 { 53, 175 },\r
379 { 53, 175 },\r
380 { 53, 175 },\r
381 { 53, 175 },\r
382 { 53, 175 },\r
383 { 53, 175 },\r
384 { 53, 4661 },\r
385 { 464, 476 },\r
386 { 53, 175 },\r
387 { 53, 175 },\r
388 { 53, 175 },\r
389 { 53, 62 },\r
390 { 53, 62 },\r
391 { 53, 62 },\r
392 { 53, 62 },\r
393 { 53, 62 },\r
394 { 53, 175 },\r
395 { 53, 175 },\r
396 { 53, 175 },\r
397 { 53, 62 },\r
398 { 53, 62 },\r
399 { 53, 62 },\r
400 { 53, 62 },\r
401 { 53, 62 },\r
402 { 53, 62 },\r
403 { 53, 175 },\r
404 { 53, 62 },\r
405 { 53, 62 },\r
406 { 53, 62 },\r
407 { 53, 62 },\r
408 { 53, 62 },\r
409 { 53, 62 },\r
410 { 53, 175 },\r
411 { 53, 62 },\r
412 { 53, 175 },\r
413 { 53, 175 },\r
414 { 53, 175 },\r
415 { 53, 175 },\r
416 { 53, 175 },\r
417 { 53, 175 },\r
418 { 53, 0 },\r
419 }\r
420};\r
421\r
422// Code 007 -- Zenith\r
423const struct powercode zenithCode PROGMEM = {\r
424 freq_to_timerval( 38200), \r
425 {{ 52, 49 },\r
426 { 52, 419 },\r
427 { 52, 522 },\r
428 { 52, 49 },\r
429 { 52, 419 },\r
430 { 52, 49 },\r
431 { 52, 419 },\r
432 { 52, 522 },\r
433 { 52, 49 },\r
434 { 52, 419 },\r
435 { 52, 522 },\r
436 { 52, 49 },\r
437 { 52, 419 },\r
438 { 52, 522 },\r
439 { 52, 522 },\r
440 { 52, 49 },\r
441 { 52, 12433 },\r
442 { 52, 49 },\r
443 { 52, 419 },\r
444 { 52, 522 },\r
445 { 52, 49 },\r
446 { 52, 419 },\r
447 { 52, 49 },\r
448 { 52, 419 },\r
449 { 52, 522 },\r
450 { 52, 49 },\r
451 { 52, 419 },\r
452 { 52, 522 },\r
453 { 52, 49 },\r
454 { 52, 419 },\r
455 { 52, 522 },\r
456 { 52, 522 },\r
457 { 52, 49 },\r
458 { 52, 0 },\r
459 }\r
460};\r
461\r
462// Code 008 --Pioneer, Sansui, Toshiba\r
463const struct powercode pioneerCode PROGMEM = {\r
464 freq_to_timerval( 37470), \r
465 {{924, 462},\r
466 { 59, 173},\r
467 { 59, 59},\r
468 { 59, 59},\r
469 { 59, 59},\r
470 { 59, 173},\r
471 { 59, 173},\r
472 { 59, 173},\r
473 { 59, 59},\r
474 { 59, 59},\r
475 { 59, 173},\r
476 { 59, 173},\r
477 { 59, 173},\r
478 { 59, 59},\r
479 { 59, 59},\r
480 { 59, 59},\r
481 { 59, 173},\r
482 { 59, 59},\r
483 { 59, 173},\r
484 { 59, 59},\r
485 { 59, 173},\r
486 { 59, 59},\r
487 { 59, 59},\r
488 { 59, 173},\r
489 { 59, 59},\r
490 { 59, 173},\r
491 { 59, 59},\r
492 { 59, 173},\r
493 { 59, 59},\r
494 { 59, 173},\r
495 { 59, 173},\r
496 { 59, 59},\r
497 { 59, 173},\r
498 { 59, 4117},\r
499 {926, 459},\r
500 { 59, 173},\r
501 { 59, 59},\r
502 { 59, 59},\r
503 { 59, 59},\r
504 { 59, 173},\r
505 { 59, 173},\r
506 { 59, 173},\r
507 { 59, 59},\r
508 { 59, 59},\r
509 { 59, 173},\r
510 { 59, 173},\r
511 { 59, 173},\r
512 { 59, 59},\r
513 { 59, 59},\r
514 { 59, 59},\r
515 { 59, 173},\r
516 { 59, 59},\r
517 { 59, 173},\r
518 { 59, 59},\r
519 { 59, 173},\r
520 { 59, 59},\r
521 { 59, 59},\r
522 { 59, 173},\r
523 { 59, 59},\r
524 { 59, 173},\r
525 { 59, 59},\r
526 { 59, 173},\r
527 { 59, 59},\r
528 { 59, 173},\r
529 { 59, 173},\r
530 { 59, 59},\r
531 { 59, 173},\r
532 { 59, 0}}\r
533};\r
534\r
535// Code 009 -- Sylvania\r
536const struct powercode sylvaniaCode PROGMEM = {\r
537 freq_to_timerval( 37430), \r
538 {{924, 461},\r
539 {56, 174},\r
540 {56, 174},\r
541 {56, 174},\r
542 {56, 56},\r
543 {56, 56},\r
544 {56, 56},\r
545 {56, 56},\r
546 {56, 174},\r
547 {56, 56},\r
548 {56, 174},\r
549 {56, 56},\r
550 {56, 56},\r
551 {56, 56},\r
552 {56, 174},\r
553 {56, 56},\r
554 {56, 56},\r
555 {56, 56},\r
556 {56, 56},\r
557 {56, 56},\r
558 {56, 56},\r
559 {56, 56},\r
560 {56, 174},\r
561 {56, 174},\r
562 {56, 174},\r
563 {56, 174},\r
564 {56, 174},\r
565 {56, 174},\r
566 {56, 174},\r
567 {56, 174},\r
568 {56, 56},\r
569 {56, 56},\r
570 {56, 56},\r
571 {56, 4055},\r
572 {926, 230},\r
573 {56, 9855},\r
574 {926, 230},\r
575 {56, 0}\r
576 }\r
577};\r
578\r
579// Code 010 -- JVC\r
580const struct powercode jvcCode PROGMEM = {\r
581 freq_to_timerval( 37470), \r
582 { {865, 429},\r
583 {53, 161},\r
584 {53, 161},\r
585 {53, 55},\r
586 {53, 55},\r
587 {53, 55},\r
588 {53, 55},\r
589 {53, 55},\r
590 {53, 55},\r
591 {53, 161},\r
592 {53, 161},\r
593 {53, 161},\r
594 {53, 55},\r
595 {53, 161},\r
596 {53, 55},\r
597 {53, 55},\r
598 {53, 55},\r
599 {53, 2347},\r
600 {53, 161},\r
601 {53, 161},\r
602 {53, 55},\r
603 {53, 55},\r
604 {53, 55},\r
605 {53, 55},\r
606 {53, 55},\r
607 {53, 55},\r
608 {53, 161},\r
609 {53, 161},\r
610 {53, 161},\r
611 {53, 55},\r
612 {53, 161},\r
613 {53, 55},\r
614 {53, 55},\r
615 {53, 55},\r
616 {53, 2347},\r
617 {53, 161},\r
618 {53, 161},\r
619 {53, 55},\r
620 {53, 55},\r
621 {53, 55},\r
622 {53, 55},\r
623 {53, 55},\r
624 {53, 55},\r
625 {53, 161},\r
626 {53, 161},\r
627 {53, 161},\r
628 {53, 55},\r
629 {53, 161},\r
630 {53, 55},\r
631 {53, 55},\r
632 {53, 55},\r
633 {53, 0}}\r
634};\r
635\r
636// Code 011 -- Hitachi\r
637const struct powercode hitachiCode PROGMEM = {\r
638 freq_to_timerval( 37470), \r
639 { {909, 452},\r
640 {58, 55},\r
641 {58, 55},\r
642 {58, 55},\r
643 {58, 55},\r
644 {58, 175},\r
645 {58, 55},\r
646 {58, 175},\r
647 {58, 55},\r
648 {58, 175},\r
649 {58, 175},\r
650 {58, 175},\r
651 {58, 175},\r
652 {58, 55},\r
653 {58, 175},\r
654 {58, 55},\r
655 {58, 175},\r
656 {58, 175},\r
657 {58, 175},\r
658 {58, 175},\r
659 {58, 55},\r
660 {58, 175},\r
661 {58, 55},\r
662 {58, 55},\r
663 {58, 55},\r
664 {58, 55},\r
665 {58, 55},\r
666 {58, 55},\r
667 {58, 175},\r
668 {58, 55},\r
669 {58, 175},\r
670 {58, 175},\r
671 {58, 175},\r
672 {58, 4146},\r
673 {910, 229},\r
674 {58, 9597},\r
675 {910, 229},\r
676 {56, 0} }\r
677};\r
678\r
679// Code 012 -- Sampo\r
680const struct powercode sampoCode PROGMEM = {\r
681 freq_to_timerval( 37470), \r
682 { {342, 343},\r
683 {85, 260},\r
684 {85, 87},\r
685 {85, 260},\r
686 {85, 260},\r
687 {85, 87},\r
688 {85, 260},\r
689 {85, 87},\r
690 {85, 260},\r
691 {85, 260},\r
692 {85, 87},\r
693 {85, 87},\r
694 {85, 87},\r
695 {85, 87},\r
696 {85, 260},\r
697 {85, 87},\r
698 {85, 260},\r
699 {85, 87},\r
700 {85, 87},\r
701 {85, 260},\r
702 {85, 87},\r
703 {85, 87},\r
704 {85, 260},\r
705 {85, 260},\r
706 {85, 260},\r
707 {85, 3366},\r
708 {342, 344},\r
709 {85, 260},\r
710 {85, 87},\r
711 {85, 260},\r
712 {85, 260},\r
713 {85, 87},\r
714 {85, 260},\r
715 {85, 87},\r
716 {85, 260},\r
717 {85, 260},\r
718 {85, 87},\r
719 {85, 87},\r
720 {85, 87},\r
721 {85, 87},\r
722 {85, 260},\r
723 {85, 87},\r
724 {85, 260},\r
725 {85, 87},\r
726 {85, 87},\r
727 {85, 260},\r
728 {85, 87},\r
729 {85, 87},\r
730 {85, 260},\r
731 {85, 260},\r
732 {85, 260},\r
733 {85, 0}}\r
734};\r
735\r
736// Code 013 -- Hisense\r
737const struct powercode hisenseCode PROGMEM = {\r
738 freq_to_timerval( 37520), \r
739 { {918, 459},\r
740 {56, 55},\r
741 {56, 55},\r
742 {56, 170},\r
743 {56, 170},\r
744 {56, 170},\r
745 {56, 55},\r
746 {56, 55},\r
747 {56, 55},\r
748 {56, 170},\r
749 {56, 55},\r
750 {56, 55},\r
751 {56, 55},\r
752 {56, 55},\r
753 {56, 170},\r
754 {56, 170},\r
755 {56, 55},\r
756 {56, 55},\r
757 {56, 55},\r
758 {56, 170},\r
759 {56, 170},\r
760 {56, 170},\r
761 {56, 55},\r
762 {56, 170},\r
763 {56, 170},\r
764 {56, 170},\r
765 {56, 170},\r
766 {56, 55},\r
767 {56, 170},\r
768 {56, 55},\r
769 {56, 55},\r
770 {56, 170},\r
771 {56, 55},\r
772 {56, 55},\r
773 {56, 55},\r
774 {56, 170},\r
775 {56, 55},\r
776 {56, 170},\r
777 {56, 170},\r
778 {56, 55},\r
779 {56, 170},\r
780 {56, 170},\r
781 {56, 170},\r
782 {56, 2364},\r
783 {920, 458},\r
784 {56, 9620},\r
785 {920, 458},\r
786 {56, 0}}\r
787};\r
788\r
789// Code 014 -- Viewsonic, Acer\r
790const struct powercode viewsonicCode PROGMEM = {\r
791 freq_to_timerval( 37470), \r
792 { {924, 464},\r
793 {58, 57},\r
794 {58, 57},\r
795 {58, 57},\r
796 {58, 57},\r
797 {58, 57},\r
798 {58, 173},\r
799 {58, 173},\r
800 {58, 57},\r
801 {58, 173},\r
802 {58, 173},\r
803 {58, 173},\r
804 {58, 173},\r
805 {58, 173},\r
806 {58, 57},\r
807 {58, 57},\r
808 {58, 173},\r
809 {58, 173},\r
810 {58, 173},\r
811 {58, 57},\r
812 {58, 57},\r
813 {58, 57},\r
814 {58, 57},\r
815 {58, 57},\r
816 {58, 57},\r
817 {58, 57},\r
818 {58, 57},\r
819 {58, 173},\r
820 {58, 173},\r
821 {58, 173},\r
822 {58, 173},\r
823 {58, 173},\r
824 {58, 173},\r
825 {58, 4054},\r
826 {926, 230},\r
827 {58, 9880},\r
828 {926, 230},\r
829 {58, 0}}\r
830};\r
831\r
832// Code 015 -- Bush, NET-TV\r
833const struct powercode bushCode PROGMEM = {\r
834 freq_to_timerval( 37470), \r
835 { {924, 464},\r
836 {58, 57},\r
837 {58, 173},\r
838 {58, 57},\r
839 {58, 57},\r
840 {58, 57},\r
841 {58, 57},\r
842 {58, 173},\r
843 {58, 57},\r
844 {58, 173},\r
845 {58, 57},\r
846 {58, 173},\r
847 {58, 173},\r
848 {58, 173},\r
849 {58, 173},\r
850 {58, 57},\r
851 {58, 173},\r
852 {58, 173},\r
853 {58, 57},\r
854 {58, 57},\r
855 {58, 57},\r
856 {58, 57},\r
857 {58, 57},\r
858 {58, 57},\r
859 {58, 57},\r
860 {58, 57},\r
861 {58, 173},\r
862 {58, 173},\r
863 {58, 173},\r
864 {58, 173},\r
865 {58, 173},\r
866 {58, 173},\r
867 {58, 173},\r
868 {58, 4054},\r
869 {926, 230},\r
870 {58, 9880},\r
871 {926, 230},\r
872 {58, 0}}\r
873};\r
874\r
875// Code 016 -- AOC, Daewoo, Goldstar, JC Penney, LG, Memorex, MGA, \r
876// Mistubishi, MTC, NEC, Philco, Portland, RCA, Samsung, \r
877// Teknika, Vidtech, Wards, Yamaha\r
878const struct powercode aocCode PROGMEM = {\r
879 freq_to_timerval(33600), \r
880 { {30, 215},\r
881 {30, 216},\r
882 {30, 216},\r
883 {30, 91},\r
884 {30, 91},\r
885 {30, 91},\r
886 {30, 216},\r
887 {30, 91},\r
888 {30, 91},\r
889 {30, 216},\r
890 {30, 91},\r
891 {30, 91},\r
892 {30, 91},\r
893 {30, 91},\r
894 {30, 91},\r
895 {30, 91},\r
896 {30, 2573},\r
897 {30, 216},\r
898 {30, 216},\r
899 {30, 216},\r
900 {30, 91},\r
901 {30, 91},\r
902 {30, 91},\r
903 {30, 216},\r
904 {30, 91},\r
905 {30, 91},\r
906 {30, 216},\r
907 {30, 91},\r
908 {30, 91},\r
909 {30, 91},\r
910 {30, 91},\r
911 {30, 91},\r
912 {30, 91},\r
913 {30, 0}}\r
914};\r
915\r
916// Code 017 -- Bell & Howell, Curtis Mathes, Emerson, Fisher, LXI, Memorex, \r
917// Radio Shack, Realistic, Sanyo, Sears, Toshiba\r
918const struct powercode bellCode PROGMEM = {\r
919 freq_to_timerval(38970), \r
920 { {924, 459},\r
921 {59, 57},\r
922 {59, 57},\r
923 {59, 57},\r
924 {59, 178},\r
925 {59, 178},\r
926 {59, 178},\r
927 {59, 57},\r
928 {59, 57},\r
929 {59, 178},\r
930 {59, 178},\r
931 {59, 178},\r
932 {59, 57},\r
933 {59, 57},\r
934 {59, 57},\r
935 {59, 178},\r
936 {59, 178},\r
937 {59, 57},\r
938 {59, 178},\r
939 {59, 57},\r
940 {59, 57},\r
941 {59, 178},\r
942 {59, 57},\r
943 {59, 57},\r
944 {59, 57},\r
945 {59, 178},\r
946 {59, 57},\r
947 {59, 178},\r
948 {59, 178},\r
949 {59, 57},\r
950 {59, 178},\r
951 {59, 178},\r
952 {59, 178},\r
953 {59, 4260},\r
954 {924, 231},\r
955 {59, 9753},\r
956 {924, 231},\r
957 {59, 0}}\r
958};\r
959\r
960// Code 018 -- Pioneer, Hitachi\r
961const struct powercode pioneer2Code PROGMEM = {\r
962 freq_to_timerval(37470),\r
963 { {873, 439},\r
964 {53, 55},\r
965 {53, 164},\r
966 {53, 55},\r
967 {53, 164},\r
968 {53, 55},\r
969 {53, 164},\r
970 {53, 55},\r
971 {53, 164},\r
972 {53, 164},\r
973 {53, 55},\r
974 {53, 164},\r
975 {53, 55},\r
976 {53, 164},\r
977 {53, 55},\r
978 {53, 164},\r
979 {53, 55},\r
980 {53, 55},\r
981 {53, 55},\r
982 {53, 164},\r
983 {53, 164},\r
984 {53, 164},\r
985 {53, 55},\r
986 {53, 55},\r
987 {53, 55},\r
988 {53, 164},\r
989 {53, 164},\r
990 {53, 55},\r
991 {53, 55},\r
992 {53, 55},\r
993 {53, 164},\r
994 {53, 164},\r
995 {53, 164},\r
996 {53, 2633},\r
997 {873, 440},\r
998 {53, 55},\r
999 {53, 164},\r
1000 {53, 55},\r
1001 {53, 164},\r
1002 {53, 55},\r
1003 {53, 164},\r
1004 {53, 55},\r
1005 {53, 164},\r
1006 {53, 164},\r
1007 {53, 55},\r
1008 {53, 164},\r
1009 {53, 55},\r
1010 {53, 164},\r
1011 {53, 55},\r
1012 {53, 164},\r
1013 {53, 55},\r
1014 {53, 55},\r
1015 {53, 55},\r
1016 {53, 164},\r
1017 {53, 164},\r
1018 {53, 164},\r
1019 {53, 55},\r
1020 {53, 55},\r
1021 {53, 55},\r
1022 {53, 164},\r
1023 {53, 164},\r
1024 {53, 55},\r
1025 {53, 55},\r
1026 {53, 55},\r
1027 {53, 164},\r
1028 {53, 164},\r
1029 {53, 164},\r
1030 {53, 2633},\r
1031 {873, 440},\r
1032 {53, 55},\r
1033 {53, 164},\r
1034 {53, 55},\r
1035 {53, 164},\r
1036 {53, 55},\r
1037 {53, 164},\r
1038 {53, 55},\r
1039 {53, 164},\r
1040 {53, 164},\r
1041 {53, 55},\r
1042 {53, 164},\r
1043 {53, 55},\r
1044 {53, 164},\r
1045 {53, 55},\r
1046 {53, 164},\r
1047 {53, 55},\r
1048 {53, 55},\r
1049 {53, 55},\r
1050 {53, 164},\r
1051 {53, 164},\r
1052 {53, 164},\r
1053 {53, 55},\r
1054 {53, 55},\r
1055 {53, 55},\r
1056 {53, 164},\r
1057 {53, 164},\r
1058 {53, 55},\r
1059 {53, 55},\r
1060 {53, 55},\r
1061 {53, 164},\r
1062 {53, 0}}\r
1063};\r
1064\r
1065// Code 019 -- Fujitsu\r
1066const struct powercode fujitsuCode PROGMEM = {\r
1067 freq_to_timerval(37470),\r
1068 { {335, 166},\r
1069 {43, 42},\r
1070 {43, 42},\r
1071 {43, 126},\r
1072 {43, 42},\r
1073 {43, 126},\r
1074 {43, 42},\r
1075 {43, 42},\r
1076 {43, 42},\r
1077 {43, 126},\r
1078 {43, 126},\r
1079 {43, 42},\r
1080 {43, 42},\r
1081 {43, 42},\r
1082 {43, 126},\r
1083 {43, 126},\r
1084 {43, 42},\r
1085 {43, 42},\r
1086 {43, 42},\r
1087 {43, 42},\r
1088 {43, 42},\r
1089 {43, 42},\r
1090 {43, 42},\r
1091 {43, 42},\r
1092 {43, 42},\r
1093 {43, 42},\r
1094 {43, 42},\r
1095 {43, 126},\r
1096 {43, 42},\r
1097 {43, 42},\r
1098 {43, 42},\r
1099 {43, 42},\r
1100 {43, 126},\r
1101 {43, 42},\r
1102 {43, 42},\r
1103 {43, 126},\r
1104 {43, 42},\r
1105 {43, 42},\r
1106 {43, 42},\r
1107 {43, 42},\r
1108 {43, 126},\r
1109 {43, 42},\r
1110 {43, 126},\r
1111 {43, 42},\r
1112 {43, 42},\r
1113 {43, 42},\r
1114 {43, 42},\r
1115 {43, 42},\r
1116 {43, 42},\r
1117 {43, 4723},\r
1118 {336, 166},\r
1119 {43, 42},\r
1120 {43, 42},\r
1121 {43, 126},\r
1122 {43, 42},\r
1123 {43, 126},\r
1124 {43, 42},\r
1125 {43, 42},\r
1126 {43, 42},\r
1127 {43, 126},\r
1128 {43, 126},\r
1129 {43, 42},\r
1130 {43, 42},\r
1131 {43, 42},\r
1132 {43, 126},\r
1133 {43, 126},\r
1134 {43, 42},\r
1135 {43, 42},\r
1136 {43, 42},\r
1137 {43, 42},\r
1138 {43, 42},\r
1139 {43, 42},\r
1140 {43, 42},\r
1141 {43, 42},\r
1142 {43, 42},\r
1143 {43, 42},\r
1144 {43, 42},\r
1145 {43, 126},\r
1146 {43, 42},\r
1147 {43, 42},\r
1148 {43, 42},\r
1149 {43, 42},\r
1150 {43, 126},\r
1151 {43, 42},\r
1152 {43, 42},\r
1153 {43, 126},\r
1154 {43, 42},\r
1155 {43, 42},\r
1156 {43, 42},\r
1157 {43, 42},\r
1158 {43, 126},\r
1159 {43, 42},\r
1160 {43, 126},\r
1161 {43, 42},\r
1162 {43, 42},\r
1163 {43, 42},\r
1164 {43, 42},\r
1165 {43, 42},\r
1166 {43, 42},\r
1167 {43, 0}}\r
1168};\r
1169\r
1170\r
1171// Code 020 - Gold Star, JC Penney, LXI, Marantz, Memorex, Proton, Pulsar, \r
1172// Toshiba, Wards\r
1173\r
1174const struct powercode goldstarCode PROGMEM = {\r
1175 freq_to_timerval(37470),\r
1176 { {924, 472},\r
1177 {63, 55},\r
1178 {63, 55},\r
1179 {63, 166},\r
1180 {63, 55},\r
1181 {63, 55},\r
1182 {63, 55},\r
1183 {63, 55},\r
1184 {63, 55},\r
1185 {63, 166},\r
1186 {63, 166},\r
1187 {63, 55},\r
1188 {63, 166},\r
1189 {63, 166},\r
1190 {63, 166},\r
1191 {63, 166},\r
1192 {63, 166},\r
1193 {63, 55},\r
1194 {63, 55},\r
1195 {63, 55},\r
1196 {63, 166},\r
1197 {63, 55},\r
1198 {63, 55},\r
1199 {63, 55},\r
1200 {63, 55},\r
1201 {63, 166},\r
1202 {63, 166},\r
1203 {63, 166},\r
1204 {63, 55},\r
1205 {63, 166},\r
1206 {63, 166},\r
1207 {63, 166},\r
1208 {63, 166},\r
1209 {63, 4207},\r
1210 {926, 234},\r
1211 {63, 9957},\r
1212 {926, 234},\r
1213 {62, 0}}\r
1214};\r
1215\r
1216\r
1217// Code 021 - Daewoo, Emerson, Hitachi, RCA, White Westinghouse, Zenith\r
1218const struct powercode daewooCode PROGMEM = {\r
1219 freq_to_timerval(37470),\r
1220 { {821, 409},\r
1221 {51, 52},\r
1222 {51, 52},\r
1223 {51, 163},\r
1224 {51, 52},\r
1225 {51, 163},\r
1226 {51, 52},\r
1227 {51, 52},\r
1228 {51, 52},\r
1229 {51, 409},\r
1230 {51, 163},\r
1231 {51, 52},\r
1232 {51, 163},\r
1233 {51, 52},\r
1234 {51, 163},\r
1235 {51, 52},\r
1236 {51, 52},\r
1237 {51, 52},\r
1238 {51, 2397},\r
1239 {822, 409},\r
1240 {51, 52},\r
1241 {51, 52},\r
1242 {51, 163},\r
1243 {51, 52},\r
1244 {51, 163},\r
1245 {51, 52},\r
1246 {51, 52},\r
1247 {51, 52},\r
1248 {51, 409},\r
1249 {51, 163},\r
1250 {51, 52},\r
1251 {51, 163},\r
1252 {51, 52},\r
1253 {51, 163},\r
1254 {51, 52},\r
1255 {51, 52},\r
1256 {51, 52},\r
1257 {51, 0}}\r
1258};\r
1259\r
1260\r
1261// Code 022 - NEC\r
1262const struct powercode NECCode PROGMEM = {\r
1263 freq_to_timerval(37470),\r
1264 {\r
1265 {918, 460},\r
1266 {56, 61},\r
1267 {56, 61},\r
1268 {56, 61},\r
1269 {56, 179},\r
1270 {56, 179},\r
1271 {56, 61},\r
1272 {56, 61},\r
1273 {56, 61},\r
1274 {56, 61},\r
1275 {56, 61},\r
1276 {56, 61},\r
1277 {56, 179},\r
1278 {56, 179},\r
1279 {56, 61},\r
1280 {56, 61},\r
1281 {56, 61},\r
1282 {56, 61},\r
1283 {56, 61},\r
1284 {56, 61},\r
1285 {56, 61},\r
1286 {56, 61},\r
1287 {56, 61},\r
1288 {56, 179},\r
1289 {56, 179},\r
1290 {56, 179},\r
1291 {56, 179},\r
1292 {56, 179},\r
1293 {56, 179},\r
1294 {56, 179},\r
1295 {56, 179},\r
1296 {56, 61},\r
1297 {56, 61},\r
1298 {56, 4581},\r
1299 {921, 230},\r
1300 {56, 9705},\r
1301 {921, 230},\r
1302 {56, 0}\r
1303 }\r
1304};\r
1305\r
1306// Code 023 - Admiral, Bell & Howell, Logik, Majestic, Memorex, \r
1307// Montgomery Ward, Signature, Teknika, Wards, Zenith\r
1308const struct powercode admiralCode PROGMEM = {\r
1309 freq_to_timerval(39010),\r
1310 {\r
1311 {51, 516},\r
1312 {51, 516},\r
1313 {51, 52},\r
1314 {51, 418},\r
1315 {51, 52},\r
1316 {51, 418},\r
1317 {51, 516},\r
1318 {51, 52},\r
1319 {51, 418},\r
1320 {51, 516},\r
1321 {51, 52},\r
1322 {51, 418},\r
1323 {51, 516},\r
1324 {51, 516},\r
1325 {51, 52},\r
1326 {51, 418},\r
1327 {51, 52},\r
1328 {51, 418},\r
1329 {51, 516},\r
1330 {51, 52},\r
1331 {51, 418},\r
1332 {51, 10746},\r
1333 {51, 516},\r
1334 {51, 516},\r
1335 {51, 52},\r
1336 {51, 418},\r
1337 {51, 52},\r
1338 {51, 418},\r
1339 {51, 516},\r
1340 {51, 52},\r
1341 {51, 418},\r
1342 {51, 516},\r
1343 {51, 52},\r
1344 {51, 418},\r
1345 {51, 516},\r
1346 {51, 516},\r
1347 {51, 52},\r
1348 {51, 418},\r
1349 {51, 52},\r
1350 {51, 418},\r
1351 {51, 516},\r
1352 {51, 52},\r
1353 {51, 418},\r
1354 {51, 0} }\r
1355};\r
1356// Code 024 - Sony\r
1357const struct powercode sony2Code PROGMEM = {\r
1358 freq_to_timerval(37470),\r
1359 { {245, 60},\r
1360 {123, 60},\r
1361 {123, 60},\r
1362 {123, 60},\r
1363 {123, 60},\r
1364 {61, 60},\r
1365 {123, 60},\r
1366 {61, 60},\r
1367 {123, 60},\r
1368 {61, 60},\r
1369 {61, 60},\r
1370 {61, 60},\r
1371 {61, 2636},\r
1372 {246, 60},\r
1373 {123, 60},\r
1374 {123, 60},\r
1375 {123, 60},\r
1376 {123, 60},\r
1377 {61, 60},\r
1378 {123, 60},\r
1379 {61, 60},\r
1380 {123, 60},\r
1381 {61, 60},\r
1382 {61, 60},\r
1383 {61, 60},\r
1384 {61, 0} }\r
1385};\r
1386\r
1387// Code 025 - Viewsonic, Magnavox, NET-TV, Electrograph, Gateway, Maxent, \r
1388// NetTV, Sampo\r
1389\r
1390const struct powercode viewsonic2Code PROGMEM = {\r
1391 freq_to_timerval(37470),\r
1392 { {357, 358},\r
1393 {88, 270},\r
1394 {88, 270},\r
1395 {88, 270},\r
1396 {88, 270},\r
1397 {88, 270},\r
1398 {88, 270},\r
1399 {88, 270},\r
1400 {88, 91},\r
1401 {88, 91},\r
1402 {88, 91},\r
1403 {88, 91},\r
1404 {88, 91},\r
1405 {88, 91},\r
1406 {88, 91},\r
1407 {88, 91},\r
1408 {88, 91},\r
1409 {88, 91},\r
1410 {88, 91},\r
1411 {88, 91},\r
1412 {88, 270},\r
1413 {88, 270},\r
1414 {88, 270},\r
1415 {88, 270},\r
1416 {88, 270},\r
1417 {88, 3562},\r
1418 {358, 358},\r
1419 {88, 270},\r
1420 {88, 270},\r
1421 {88, 270},\r
1422 {88, 270},\r
1423 {88, 270},\r
1424 {88, 270},\r
1425 {88, 270},\r
1426 {88, 91},\r
1427 {88, 91},\r
1428 {88, 91},\r
1429 {88, 91},\r
1430 {88, 91},\r
1431 {88, 91},\r
1432 {88, 91},\r
1433 {88, 91},\r
1434 {88, 91},\r
1435 {88, 91},\r
1436 {88, 91},\r
1437 {88, 91},\r
1438 {88, 270},\r
1439 {88, 270},\r
1440 {88, 270},\r
1441 {88, 270},\r
1442 {88, 270},\r
1443 {88, 0},\r
1444 }\r
1445};\r
1446\r
1447\r
1448// Code 026 - Zenith\r
1449const struct powercode zenith2Code PROGMEM = {\r
1450 freq_to_timerval(38200),\r
1451 { {52, 49},\r
1452 {52, 419},\r
1453 {52, 522},\r
1454 {52, 49},\r
1455 {52, 419},\r
1456 {52, 49},\r
1457 {52, 419},\r
1458 {52, 522},\r
1459 {52, 522},\r
1460 {52, 49},\r
1461 {52, 419},\r
1462 {52, 522},\r
1463 {52, 49},\r
1464 {52, 419},\r
1465 {52, 522},\r
1466 {52, 49},\r
1467 {52, 12922},\r
1468 {52, 49},\r
1469 {52, 419},\r
1470 {52, 522},\r
1471 {52, 49},\r
1472 {52, 419},\r
1473 {52, 49},\r
1474 {52, 419},\r
1475 {52, 522},\r
1476 {52, 522},\r
1477 {52, 49},\r
1478 {52, 419},\r
1479 {52, 522},\r
1480 {52, 49},\r
1481 {52, 419},\r
1482 {52, 522},\r
1483 {52, 49},\r
1484 {52, 0}}\r
1485};\r
1486\r
1487\r
1488// Code 027 - Thompson\r
1489const struct powercode thompsonCode PROGMEM = {\r
1490 freq_to_timerval(55600),\r
1491 { {411, 410},\r
1492 {52, 102},\r
1493 {52, 205},\r
1494 {52, 205},\r
1495 {52, 205},\r
1496 {52, 102},\r
1497 {52, 102},\r
1498 {52, 205},\r
1499 {52, 102},\r
1500 {52, 205},\r
1501 {52, 102},\r
1502 {52, 205},\r
1503 {52, 102},\r
1504 {52, 205},\r
1505 {52, 102},\r
1506 {52, 102},\r
1507 {52, 102},\r
1508 {52, 205},\r
1509 {52, 205},\r
1510 {52, 102},\r
1511 {52, 205},\r
1512 {52, 102},\r
1513 {52, 205},\r
1514 {52, 102},\r
1515 {52, 205},\r
1516 {52, 821},\r
1517 {411, 410},\r
1518 {52, 102},\r
1519 {52, 205},\r
1520 {52, 205},\r
1521 {52, 205},\r
1522 {52, 102},\r
1523 {52, 102},\r
1524 {52, 205},\r
1525 {52, 102},\r
1526 {52, 205},\r
1527 {52, 102},\r
1528 {52, 205},\r
1529 {52, 102},\r
1530 {52, 205},\r
1531 {52, 102},\r
1532 {52, 102},\r
1533 {52, 102},\r
1534 {52, 205},\r
1535 {52, 205},\r
1536 {52, 102},\r
1537 {52, 205},\r
1538 {52, 102},\r
1539 {52, 205},\r
1540 {52, 102},\r
1541 {52, 205},\r
1542 {51, 0}}\r
1543};\r
1544\r
1545// Code 028 - Brillian, Sears\r
1546const struct powercode brillianCode PROGMEM = {\r
1547 freq_to_timerval(37430),\r
1548 { {267, 276},\r
1549 {123, 123},\r
1550 {123, 277},\r
1551 {123, 123},\r
1552 {123, 277},\r
1553 {123, 123},\r
1554 {123, 277},\r
1555 {123, 277},\r
1556 {123, 123},\r
1557 {123, 277},\r
1558 {123, 277},\r
1559 {123, 123},\r
1560 {123, 123},\r
1561 {123, 123},\r
1562 {123, 277},\r
1563 {123, 123},\r
1564 {123, 277},\r
1565 {123, 4876},\r
1566 {267, 277},\r
1567 {123, 123},\r
1568 {123, 277},\r
1569 {123, 123},\r
1570 {123, 277},\r
1571 {123, 123},\r
1572 {123, 277},\r
1573 {123, 277},\r
1574 {123, 123},\r
1575 {123, 277},\r
1576 {123, 277},\r
1577 {123, 123},\r
1578 {123, 123},\r
1579 {123, 123},\r
1580 {123, 277},\r
1581 {123, 123},\r
1582 {123, 277},\r
1583 {123, 0}}\r
1584};\r
1585// Code 029 - Magnavox\r
1586const struct powercode magnavoxCode PROGMEM = {\r
1587 freq_to_timerval(34800),\r
1588 { {92, 92},\r
1589 {184, 92},\r
1590 {92, 92},\r
1591 {92, 92},\r
1592 {92, 92},\r
1593 {92, 92},\r
1594 {92, 184},\r
1595 {184, 92},\r
1596 {92, 184},\r
1597 {92, 92},\r
1598 {184, 9216},\r
1599 {92, 92},\r
1600 {184, 92},\r
1601 {92, 92},\r
1602 {92, 92},\r
1603 {92, 92},\r
1604 {92, 92},\r
1605 {92, 184},\r
1606 {184, 92},\r
1607 {92, 184},\r
1608 {92, 92},\r
1609 {184, 0}}\r
1610};\r
1611\r
1612// Code 030 - Viewsonic\r
1613const struct powercode viewsonic3Code PROGMEM = {\r
1614 freq_to_timerval(37470),\r
1615 { {924, 461},\r
1616 {56, 56},\r
1617 {56, 56},\r
1618 {56, 56},\r
1619 {56, 56},\r
1620 {56, 174},\r
1621 {56, 56},\r
1622 {56, 174},\r
1623 {56, 56},\r
1624 {56, 174},\r
1625 {56, 56},\r
1626 {56, 174},\r
1627 {56, 174},\r
1628 {56, 56},\r
1629 {56, 174},\r
1630 {56, 56},\r
1631 {56, 174},\r
1632 {56, 56},\r
1633 {56, 56},\r
1634 {56, 56},\r
1635 {56, 56},\r
1636 {56, 56},\r
1637 {56, 56},\r
1638 {56, 56},\r
1639 {56, 56},\r
1640 {56, 174},\r
1641 {56, 174},\r
1642 {56, 174},\r
1643 {56, 174},\r
1644 {56, 174},\r
1645 {56, 174},\r
1646 {56, 174},\r
1647 {56, 174},\r
1648 {56, 4055},\r
1649 {926, 230},\r
1650 {56, 9855},\r
1651 {926, 230},\r
1652 {56, 0}}\r
1653};\r
1654\r
1655// Code 031 - Crown, Infinity, JBL, Loewe, LXI, Magnavox, Marantz, \r
1656// Panaxonic, Philco, Philips, Sylvania, Wards\r
1657const struct powercode crownCode PROGMEM = {\r
1658 freq_to_timerval(34800),\r
1659 { {92, 91},\r
1660 {92, 91},\r
1661 {184, 91},\r
1662 {92, 91},\r
1663 {92, 91},\r
1664 {92, 91},\r
1665 {92, 91},\r
1666 {92, 91},\r
1667 {92, 182},\r
1668 {92, 91},\r
1669 {184, 91},\r
1670 {92, 9217},\r
1671 {92, 91},\r
1672 {92, 91},\r
1673 {184, 91},\r
1674 {92, 91},\r
1675 {92, 91},\r
1676 {92, 91},\r
1677 {92, 91},\r
1678 {92, 91},\r
1679 {92, 182},\r
1680 {92, 91},\r
1681 {184, 91},\r
1682 {92, 0}}\r
1683};\r
1684\r
1685// Code 032 - Hitachi\r
1686const struct powercode hitachi2Code PROGMEM = {\r
1687 freq_to_timerval(37470),\r
1688 { {924, 461},\r
1689 {56, 56},\r
1690 {56, 56},\r
1691 {56, 56},\r
1692 {56, 56},\r
1693 {56, 174},\r
1694 {56, 56},\r
1695 {56, 174},\r
1696 {56, 56},\r
1697 {56, 174},\r
1698 {56, 56},\r
1699 {56, 174},\r
1700 {56, 174},\r
1701 {56, 56},\r
1702 {56, 174},\r
1703 {56, 56},\r
1704 {56, 174},\r
1705 {56, 56},\r
1706 {56, 174},\r
1707 {56, 56},\r
1708 {56, 56},\r
1709 {56, 56},\r
1710 {56, 56},\r
1711 {56, 56},\r
1712 {56, 56},\r
1713 {56, 174},\r
1714 {56, 56},\r
1715 {56, 174},\r
1716 {56, 174},\r
1717 {56, 174},\r
1718 {56, 174},\r
1719 {56, 174},\r
1720 {56, 174},\r
1721 {56, 4055},\r
1722 {926, 230},\r
1723 {56, 9855},\r
1724 {926, 230},\r
1725 {56, 0} }\r
1726};\r
1727\r
1728// Code 033 - Fujitsu\r
1729const struct powercode fujitsu2Code PROGMEM = {\r
1730 freq_to_timerval(37470),\r
1731 { {344, 159},\r
1732 {43, 43},\r
1733 {43, 43},\r
1734 {43, 124},\r
1735 {43, 43},\r
1736 {43, 124},\r
1737 {43, 43},\r
1738 {43, 43},\r
1739 {43, 43},\r
1740 {43, 124},\r
1741 {43, 124},\r
1742 {43, 43},\r
1743 {43, 43},\r
1744 {43, 43},\r
1745 {43, 124},\r
1746 {43, 124},\r
1747 {43, 43},\r
1748 {43, 43},\r
1749 {43, 43},\r
1750 {43, 43},\r
1751 {43, 43},\r
1752 {43, 43},\r
1753 {43, 43},\r
1754 {43, 43},\r
1755 {43, 43},\r
1756 {43, 43},\r
1757 {43, 43},\r
1758 {43, 124},\r
1759 {43, 43},\r
1760 {43, 43},\r
1761 {43, 43},\r
1762 {43, 43},\r
1763 {43, 124},\r
1764 {43, 43},\r
1765 {43, 124},\r
1766 {43, 43},\r
1767 {43, 124},\r
1768 {43, 43},\r
1769 {43, 43},\r
1770 {43, 43},\r
1771 {43, 124},\r
1772 {43, 43},\r
1773 {43, 43},\r
1774 {43, 43},\r
1775 {43, 43},\r
1776 {43, 43},\r
1777 {43, 43},\r
1778 {43, 43},\r
1779 {43, 43},\r
1780 {43, 5438},\r
1781 {347, 157},\r
1782 {43, 43},\r
1783 {43, 43},\r
1784 {43, 124},\r
1785 {43, 43},\r
1786 {43, 124},\r
1787 {43, 43},\r
1788 {43, 43},\r
1789 {43, 43},\r
1790 {43, 124},\r
1791 {43, 124},\r
1792 {43, 43},\r
1793 {43, 43},\r
1794 {43, 43},\r
1795 {43, 124},\r
1796 {43, 124},\r
1797 {43, 43},\r
1798 {43, 43},\r
1799 {43, 43},\r
1800 {43, 43},\r
1801 {43, 43},\r
1802 {43, 43},\r
1803 {43, 43},\r
1804 {43, 43},\r
1805 {43, 43},\r
1806 {43, 43},\r
1807 {43, 43},\r
1808 {43, 124},\r
1809 {43, 43},\r
1810 {43, 43},\r
1811 {43, 43},\r
1812 {43, 43},\r
1813 {43, 124},\r
1814 {43, 43},\r
1815 {43, 124},\r
1816 {43, 43},\r
1817 {43, 124},\r
1818 {43, 43},\r
1819 {43, 43},\r
1820 {43, 43},\r
1821 {43, 124},\r
1822 {43, 43},\r
1823 {43, 43},\r
1824 {43, 43},\r
1825 {43, 43},\r
1826 {43, 43},\r
1827 {43, 43},\r
1828 {43, 43},\r
1829 {43, 43},\r
1830 {43, 0}}\r
1831};\r
1832\r
1833\r
1834// Code 034 - Hitachi\r
1835const struct powercode hitachi3Code PROGMEM = {\r
1836 freq_to_timerval(37470),\r
1837 { {924, 464},\r
1838 {58, 57},\r
1839 {58, 57},\r
1840 {58, 57},\r
1841 {58, 57},\r
1842 {58, 173},\r
1843 {58, 57},\r
1844 {58, 173},\r
1845 {58, 57},\r
1846 {58, 173},\r
1847 {58, 173},\r
1848 {58, 173},\r
1849 {58, 173},\r
1850 {58, 57},\r
1851 {58, 173},\r
1852 {58, 57},\r
1853 {58, 173},\r
1854 {58, 173},\r
1855 {58, 173},\r
1856 {58, 173},\r
1857 {58, 173},\r
1858 {58, 173},\r
1859 {58, 173},\r
1860 {58, 57},\r
1861 {58, 57},\r
1862 {58, 57},\r
1863 {58, 57},\r
1864 {58, 57},\r
1865 {58, 57},\r
1866 {58, 57},\r
1867 {58, 57},\r
1868 {58, 173},\r
1869 {58, 173},\r
1870 {58, 4054},\r
1871 {925, 230},\r
1872 {58, 9880},\r
1873 {925, 230},\r
1874 {58, 0}}\r
1875};\r
1876\r
1877\r
1878// Code 035 - NEC\r
1879const struct powercode NEC2Code PROGMEM = {\r
1880 freq_to_timerval(37470),\r
1881 { {924, 464},\r
1882 {58, 57},\r
1883 {58, 57},\r
1884 {58, 57},\r
1885 {58, 173},\r
1886 {58, 173},\r
1887 {58, 57},\r
1888 {58, 57},\r
1889 {58, 57},\r
1890 {58, 173},\r
1891 {58, 173},\r
1892 {58, 173},\r
1893 {58, 57},\r
1894 {58, 57},\r
1895 {58, 173},\r
1896 {58, 173},\r
1897 {58, 173},\r
1898 {58, 57},\r
1899 {58, 57},\r
1900 {58, 57},\r
1901 {58, 173},\r
1902 {58, 57},\r
1903 {58, 57},\r
1904 {58, 57},\r
1905 {58, 57},\r
1906 {58, 173},\r
1907 {58, 173},\r
1908 {58, 173},\r
1909 {58, 57},\r
1910 {58, 173},\r
1911 {58, 173},\r
1912 {58, 173},\r
1913 {58, 173},\r
1914 {58, 4054},\r
1915 {926, 230},\r
1916 {58, 9880},\r
1917 {926, 230},\r
1918 {58, 0} }\r
1919};\r
1920\r
1921// Code 036 - Hitachi\r
1922const struct powercode hitachi4Code PROGMEM = {\r
1923 freq_to_timerval(40580),\r
1924 { {101, 94},\r
1925 {101, 94},\r
1926 {101, 94},\r
1927 {101, 293},\r
1928 {101, 94},\r
1929 {101, 293},\r
1930 {101, 94},\r
1931 {101, 293},\r
1932 {101, 94},\r
1933 {101, 94},\r
1934 {101, 3522},\r
1935 {101, 94},\r
1936 {101, 94},\r
1937 {101, 94},\r
1938 {101, 293},\r
1939 {101, 94},\r
1940 {101, 293},\r
1941 {101, 94},\r
1942 {101, 293},\r
1943 {101, 94},\r
1944 {101, 94},\r
1945 {101, 0}\r
1946 }\r
1947};\r
1948\r
1949// Code 037 - Anam National, Electrohome, GE, Motorola, NEC, Panasonic, \r
1950// Philco, Philips, Quasar, RCA, Tatung\r
1951const struct powercode anamCode PROGMEM = {\r
1952 freq_to_timerval(36090),\r
1953 { {88, 595},\r
1954 {88, 255},\r
1955 {88, 255},\r
1956 {88, 255},\r
1957 {88, 594},\r
1958 {88, 255},\r
1959 {88, 594},\r
1960 {88, 594},\r
1961 {88, 594},\r
1962 {88, 255},\r
1963 {88, 0}}\r
1964};\r
1965\r
1966// Code 038 - AOC, NEC\r
1967const struct powercode aoc2Code PROGMEM = {\r
1968 freq_to_timerval(40580),\r
1969 { {530, 167},\r
1970 {42, 269},\r
1971 {42, 269},\r
1972 {42, 269},\r
1973 {170, 166},\r
1974 {42, 269},\r
1975 {170, 166},\r
1976 {170, 166},\r
1977 {42, 269},\r
1978 {42, 269},\r
1979 {42, 0} }\r
1980};\r
1981\r
1982// Code 039 - Candle, Citizen, JC Penney, Magnavox, Philco, Philips, \r
1983// Simpson, Soundesign, Sylvania, Teknika\r
1984const struct powercode candleCode PROGMEM = {\r
1985 freq_to_timerval(38970),\r
1986 { {924, 459},\r
1987 {59, 178},\r
1988 {59, 57},\r
1989 {59, 178},\r
1990 {59, 57},\r
1991 {59, 178},\r
1992 {59, 57},\r
1993 {59, 57},\r
1994 {59, 57},\r
1995 {59, 57},\r
1996 {59, 178},\r
1997 {59, 57},\r
1998 {59, 178},\r
1999 {59, 57},\r
2000 {59, 178},\r
2001 {59, 178},\r
2002 {59, 178},\r
2003 {59, 57},\r
2004 {59, 178},\r
2005 {59, 57},\r
2006 {59, 57},\r
2007 {59, 178},\r
2008 {59, 57},\r
2009 {59, 57},\r
2010 {59, 57},\r
2011 {59, 178},\r
2012 {59, 57},\r
2013 {59, 178},\r
2014 {59, 178},\r
2015 {59, 57},\r
2016 {59, 178},\r
2017 {59, 178},\r
2018 {59, 178},\r
2019 {59, 4262},\r
2020 {924, 231},\r
2021 {59, 9758},\r
2022 {924, 231},\r
2023 {59, 0} \r
2024 }\r
2025};\r
2026\r
2027// Code 040 - Contec/Cony, Emerson, Goldstar, Hitachi, JVC, Philco,\r
2028// Philips, Proton, Radio Shack/Realistic, Samsung, Scott,\r
2029// Sharp, Teknika\r
2030const struct powercode contecCode PROGMEM = {\r
2031 freq_to_timerval(54070),\r
2032 { {118, 103},\r
2033 {708, 2778},\r
2034 {118, 103},\r
2035 {708, 0}\r
2036 }\r
2037};\r
2038\r
2039// Code 041 - Contec/Cony, Hitachi, JC Penney, JVC, Sears, Teknika\r
2040const struct powercode contec2Code PROGMEM = {\r
2041 freq_to_timerval(38970),\r
2042 { {118, 103},\r
2043 {118, 103},\r
2044 {118, 205},\r
2045 {118, 2778},\r
2046 {118, 103},\r
2047 {118, 103},\r
2048 {118, 205},\r
2049 {118, 0}\r
2050 }\r
2051};\r
2052\r
2053// Code 042 - Sony\r
2054const struct powercode sony3Code PROGMEM = {\r
2055 freq_to_timerval(74940),\r
2056 { {250, 63},\r
2057 {121, 63},\r
2058 { 60, 63},\r
2059 {121, 63},\r
2060 { 60, 63},\r
2061 {121, 63},\r
2062 { 60, 63},\r
2063 { 60, 63},\r
2064 {121, 63},\r
2065 { 60, 63},\r
2066 { 60, 63},\r
2067 { 60, 63},\r
2068 { 60, 2819},\r
2069 {250, 63},\r
2070 {121, 63},\r
2071 { 60, 63},\r
2072 {121, 63},\r
2073 { 60, 63},\r
2074 {121, 63},\r
2075 { 60, 63},\r
2076 { 60, 63},\r
2077 {121, 63},\r
2078 { 60, 63},\r
2079 { 60, 63},\r
2080 { 60, 63},\r
2081 { 60, 0}\r
2082 }\r
2083};\r
2084\r
2085// Code 043 - Alleron, Emerson, Fujitsu, Funai, Grunpy, Scott, Sears, \r
2086// Soundesign, Teknika, Wards\r
2087\r
2088const struct powercode alleronCode PROGMEM = {\r
2089 freq_to_timerval(38970),\r
2090 { {924, 431},\r
2091 { 56, 173},\r
2092 { 56, 173},\r
2093 { 56, 66},\r
2094 { 56, 66},\r
2095 { 56, 66},\r
2096 { 56, 66},\r
2097 { 56, 66},\r
2098 { 56, 173},\r
2099 { 56, 66},\r
2100 { 56, 173},\r
2101 { 56, 66},\r
2102 { 56, 173},\r
2103 { 56, 173},\r
2104 { 56, 173},\r
2105 { 56, 173},\r
2106 { 56, 66},\r
2107 { 56, 66},\r
2108 { 56, 66},\r
2109 { 56, 66},\r
2110 { 56, 173},\r
2111 { 56, 66},\r
2112 { 56, 66},\r
2113 { 56, 66},\r
2114 { 56, 66},\r
2115 { 56, 173},\r
2116 { 56, 173},\r
2117 { 56, 173},\r
2118 { 56, 66},\r
2119 { 56, 173},\r
2120 { 56, 173},\r
2121 { 56, 173},\r
2122 { 56, 173},\r
2123 { 56, 4208},\r
2124 {924, 231},\r
2125 { 56, 8899},\r
2126 {924, 231},\r
2127 { 56, 0}\r
2128 }\r
2129};\r
2130\r
2131// Code 044 - Contec/Cony, Hitachi, JVC, Sears, Teknika\r
2132\r
2133const struct powercode contec3Code PROGMEM = {\r
2134 freq_to_timerval(39010),\r
2135 { { 46, 123},\r
2136 { 46, 123},\r
2137 { 46, 123},\r
2138 { 46, 123},\r
2139 { 46, 123},\r
2140 {136, 45},\r
2141 { 46, 123},\r
2142 { 46, 123},\r
2143 { 46, 123},\r
2144 { 46, 123},\r
2145 { 46, 123},\r
2146 { 46, 3583},\r
2147 { 46, 123},\r
2148 { 46, 123},\r
2149 { 46, 123},\r
2150 { 46, 123},\r
2151 { 46, 123},\r
2152 {136, 45},\r
2153 { 46, 123},\r
2154 { 46, 123},\r
2155 { 46, 123},\r
2156 { 46, 123},\r
2157 { 46, 123},\r
2158 { 46, 0}\r
2159 }\r
2160};\r
2161\r
2162/*\r
2163// Code 045 - Curtis Mathes, Samsung\r
2164const struct powercode curtisCode PROGMEM = {\r
2165 freq_to_timerval(38970),\r
2166 { {444, 446},\r
2167 { 54, 163},\r
2168 { 54, 163},\r
2169 { 54, 163},\r
2170 { 54, 51},\r
2171 { 54, 51},\r
2172 { 54, 51},\r
2173 { 54, 51},\r
2174 { 54, 51},\r
2175 { 54, 51},\r
2176 { 54, 51},\r
2177 { 54, 51},\r
2178 { 54, 163},\r
2179 { 54, 163},\r
2180 { 54, 163},\r
2181 { 54, 163},\r
2182 { 54, 163},\r
2183 { 54, 51},\r
2184 { 54, 163},\r
2185 { 54, 51},\r
2186 { 54, 51},\r
2187 { 54, 51},\r
2188 { 54, 51},\r
2189 { 54, 51},\r
2190 { 54, 51},\r
2191 { 54, 163},\r
2192 { 54, 51},\r
2193 { 54, 163},\r
2194 { 54, 163},\r
2195 { 54, 163},\r
2196 { 54, 163},\r
2197 { 54, 163},\r
2198 { 54, 163},\r
2199 { 54, 4204},\r
2200 {908, 224},\r
2201 { 54, 9767},\r
2202 {908, 224},\r
2203 { 54, 0}\r
2204 }\r
2205};\r
2206\r
2207// Code 046 - Aiko, Citizen, Daewoo, Nikko, NTC, Portland, Teknika\r
2208const struct powercode aikoCode PROGMEM = {\r
2209 freq_to_timerval(37470),\r
2210 { {470, 459},\r
2211 { 61, 53},\r
2212 { 61, 170},\r
2213 { 61, 170},\r
2214 { 61, 53},\r
2215 { 61, 53},\r
2216 { 61, 53},\r
2217 { 61, 53},\r
2218 { 61, 53},\r
2219 { 61, 53},\r
2220 { 61, 170},\r
2221 { 61, 170},\r
2222 { 61, 53},\r
2223 { 61, 53},\r
2224 { 61, 53},\r
2225 { 61, 53},\r
2226 { 61, 53},\r
2227 { 61, 170},\r
2228 { 61, 170},\r
2229 { 61, 170},\r
2230 { 61, 170},\r
2231 { 61, 53},\r
2232 { 61, 53},\r
2233 { 61, 53},\r
2234 { 61, 53},\r
2235 { 61, 53},\r
2236 { 61, 53},\r
2237 { 61, 53},\r
2238 { 61, 53},\r
2239 { 61, 170},\r
2240 { 61, 170},\r
2241 { 61, 170},\r
2242 { 61, 170},\r
2243 { 61, 4612},\r
2244 {470, 459},\r
2245 { 61, 170},\r
2246 { 61, 9937},\r
2247 {470, 459},\r
2248 { 61, 170},\r
2249 { 61, 0}\r
2250 }\r
2251};\r
2252\r
2253// Code 047 - Daewoo\r
2254const struct powercode daewoo2Code PROGMEM = {\r
2255 freq_to_timerval(28670),\r
2256 { { 56, 282},\r
2257 { 56, 106},\r
2258 {108, 52},\r
2259 { 56, 52},\r
2260 { 56, 52},\r
2261 { 56, 52},\r
2262 { 56, 2592},\r
2263 { 56, 282},\r
2264 { 56, 106},\r
2265 { 56, 52},\r
2266 { 56, 52},\r
2267 { 56, 52},\r
2268 { 56, 52},\r
2269 { 56, 52},\r
2270 { 56, 13150},\r
2271 { 56, 282},\r
2272 { 56, 106},\r
2273 { 56, 52},\r
2274 { 56, 52},\r
2275 { 56, 52},\r
2276 { 56, 52},\r
2277 { 56, 52},\r
2278 { 56, 0}\r
2279 }\r
2280};\r
2281\r
2282// Code 048 - Electrohome, GE, JC Penney, MGA, Mitsubishi\r
2283const struct powercode electrohomeCode PROGMEM = {\r
2284 freq_to_timerval(38970),\r
2285 { {924, 459},\r
2286 { 59, 57},\r
2287 { 59, 57},\r
2288 { 59, 57},\r
2289 { 59, 57},\r
2290 { 59, 178},\r
2291 { 59, 57},\r
2292 { 59, 57},\r
2293 { 59, 57},\r
2294 { 59, 178},\r
2295 { 59, 178},\r
2296 { 59, 178},\r
2297 { 59, 178},\r
2298 { 59, 57},\r
2299 { 59, 178},\r
2300 { 59, 178},\r
2301 { 59, 178},\r
2302 { 59, 178},\r
2303 { 59, 178},\r
2304 { 59, 178},\r
2305 { 59, 178},\r
2306 { 59, 57},\r
2307 { 59, 178},\r
2308 { 59, 178},\r
2309 { 59, 178},\r
2310 { 59, 57},\r
2311 { 59, 57},\r
2312 { 59, 57},\r
2313 { 59, 57},\r
2314 { 59, 178},\r
2315 { 59, 57},\r
2316 { 59, 57},\r
2317 { 59, 57},\r
2318 { 59, 4260},\r
2319 {924, 231},\r
2320 { 59, 9752},\r
2321 {924, 231},\r
2322 { 59, 0}\r
2323 }\r
2324};\r
2325\r
2326// Code 049 - Emerson, Sharp\r
2327const struct powercode emersonCode PROGMEM = {\r
2328 freq_to_timerval(38970),\r
2329 { {444, 446},\r
2330 { 54, 51},\r
2331 { 54, 51},\r
2332 { 54, 51},\r
2333 { 54, 51},\r
2334 { 54, 51},\r
2335 { 54, 51},\r
2336 { 54, 51},\r
2337 { 54, 51},\r
2338 { 54, 163},\r
2339 { 54, 163},\r
2340 { 54, 163},\r
2341 { 54, 163},\r
2342 { 54, 163},\r
2343 { 54, 163},\r
2344 { 54, 163},\r
2345 { 54, 163},\r
2346 { 54, 163},\r
2347 { 54, 163},\r
2348 { 54, 163},\r
2349 { 54, 163},\r
2350 { 54, 51},\r
2351 { 54, 51},\r
2352 { 54, 51},\r
2353 { 54, 51},\r
2354 { 54, 51},\r
2355 { 54, 51},\r
2356 { 54, 51},\r
2357 { 54, 51},\r
2358 { 54, 163},\r
2359 { 54, 163},\r
2360 { 54, 163},\r
2361 { 54, 163},\r
2362 { 54, 4204},\r
2363 {908, 224},\r
2364 { 54, 9767},\r
2365 {908, 224},\r
2366 { 54, 0}\r
2367 }\r
2368};\r
2369*/\r
2370\r
2371// Code 050 - Fisher, MGA, Mitsubishi, Sears\r
2372const struct powercode fisherCode PROGMEM = {\r
2373 freq_to_timerval(44330),\r
2374 { {282, 876},\r
2375 {282, 2038},\r
2376 {282, 2038},\r
2377 {282, 876},\r
2378 {282, 876},\r
2379 {282, 2038},\r
2380 {282, 876},\r
2381 {282, 2038},\r
2382 {282, 2038},\r
2383 {282, 876},\r
2384 {282, 0}\r
2385 }\r
2386};\r
2387\r
2388/*\r
2389// Code 051 - Amplivision, Atlantic, Clatronic, Condor, Desnet, Formenti, \r
2390// Hanseatic, Korting, Manesth, NEC, Orion, Otto Versand, \r
2391// Pathe Cinema, Perdio, Phoenix, Sogera, Soundwave, Standard, \r
2392// Technema, Telemeister, Televideon, Tensai, Tenson, Uher,\r
2393// Videotechnic, Vision, Watson, Weltblick, White Westinghouse\r
2394\r
2395const struct powercode amplivisionCode PROGMEM = {\r
2396 freq_to_timerval(8860),\r
2397 { { 3, 29},\r
2398 { 71, 19},\r
2399 { 48, 29},\r
2400 { 3, 13072},\r
2401 { 3, 29},\r
2402 { 14, 19},\r
2403 { 3, 19},\r
2404 { 3, 19},\r
2405 { 3, 19},\r
2406 { 14, 19},\r
2407 { 48, 29},\r
2408 { 3, 0}\r
2409 }\r
2410};\r
2411\r
2412// Code 052 - GE, JC Penney, JVC, Midland, Panasonic, Prism, Quasar, \r
2413// Techics, Techwood\r
2414const struct powercode geCode PROGMEM = {\r
2415 freq_to_timerval(54160),\r
2416 { {369, 339},\r
2417 { 83, 89},\r
2418 { 83, 89},\r
2419 { 83, 89},\r
2420 { 83, 89},\r
2421 { 83, 89},\r
2422 { 83, 89},\r
2423 { 83, 89},\r
2424 { 83, 89},\r
2425 { 83, 89},\r
2426 { 83, 89},\r
2427 { 83, 260},\r
2428 { 83, 260},\r
2429 { 83, 260},\r
2430 { 83, 260},\r
2431 { 83, 260},\r
2432 { 83, 260},\r
2433 { 83, 260},\r
2434 { 83, 260},\r
2435 { 83, 260},\r
2436 { 83, 260},\r
2437 { 83, 260},\r
2438 { 83, 89},\r
2439 { 83, 3849},\r
2440 {369, 339},\r
2441 { 83, 89},\r
2442 { 83, 89},\r
2443 { 83, 89},\r
2444 { 83, 89},\r
2445 { 83, 89},\r
2446 { 83, 89},\r
2447 { 83, 89},\r
2448 { 83, 89},\r
2449 { 83, 89},\r
2450 { 83, 89},\r
2451 { 83, 260},\r
2452 { 83, 260},\r
2453 { 83, 260},\r
2454 { 83, 260},\r
2455 { 83, 260},\r
2456 { 83, 260},\r
2457 { 83, 260},\r
2458 { 83, 260},\r
2459 { 83, 260},\r
2460 { 83, 260},\r
2461 { 83, 260},\r
2462 { 83, 89},\r
2463 { 83, 0}\r
2464 }\r
2465};\r
2466\r
2467// Code 053 - JVC\r
2468const struct powercode jvc2Code PROGMEM = {\r
2469 freq_to_timerval(38970),\r
2470 { {924, 459},\r
2471 { 59, 57},\r
2472 { 59, 57},\r
2473 { 59, 178},\r
2474 { 59, 57},\r
2475 { 59, 57},\r
2476 { 59, 57},\r
2477 { 59, 178},\r
2478 { 59, 178},\r
2479 { 59, 178},\r
2480 { 59, 178},\r
2481 { 59, 57},\r
2482 { 59, 178},\r
2483 { 58, 178},\r
2484 { 59, 178},\r
2485 { 59, 57},\r
2486 { 59, 57},\r
2487 { 59, 57},\r
2488 { 59, 57},\r
2489 { 59, 57},\r
2490 { 59, 178},\r
2491 { 59, 178},\r
2492 { 59, 57},\r
2493 { 59, 57},\r
2494 { 59, 57},\r
2495 { 58, 178},\r
2496 { 59, 178},\r
2497 { 59, 178},\r
2498 { 59, 57},\r
2499 { 59, 57},\r
2500 { 59, 178},\r
2501 { 59, 178},\r
2502 { 59, 178},\r
2503 { 59, 4260},\r
2504 {924, 231},\r
2505 { 59, 9752},\r
2506 {924, 231},\r
2507 { 59, 0}\r
2508 }\r
2509};\r
2510\r
2511// Code 054 - JVC\r
2512const struct powercode jvc3Code PROGMEM = {\r
2513 freq_to_timerval(38970),\r
2514 { {924, 459},\r
2515 { 59, 178},\r
2516 { 59, 178},\r
2517 { 59, 178},\r
2518 { 59, 57},\r
2519 { 59, 178},\r
2520 { 59, 178},\r
2521 { 59, 57},\r
2522 { 59, 57},\r
2523 { 59, 57},\r
2524 { 59, 57},\r
2525 { 59, 57},\r
2526 { 59, 178},\r
2527 { 59, 57},\r
2528 { 59, 57},\r
2529 { 59, 178},\r
2530 { 59, 178},\r
2531 { 59, 57},\r
2532 { 59, 178},\r
2533 { 59, 57},\r
2534 { 59, 57},\r
2535 { 59, 178},\r
2536 { 59, 57},\r
2537 { 59, 57},\r
2538 { 59, 57},\r
2539 { 59, 178},\r
2540 { 59, 57},\r
2541 { 59, 178},\r
2542 { 59, 178},\r
2543 { 59, 57},\r
2544 { 59, 178},\r
2545 { 59, 178},\r
2546 { 58, 178},\r
2547 { 59, 4260},\r
2548 {924, 231},\r
2549 { 59, 9752},\r
2550 {924, 231},\r
2551 { 59, 0}\r
2552 }\r
2553};\r
2554\r
2555// Code 055 - Kloss Novabeam, Magnavox, Philco, Philips, Sylvania, Wards\r
2556const struct powercode klossCode PROGMEM = {\r
2557 freq_to_timerval(54070),\r
2558 { { 53, 237},\r
2559 { 53, 812},\r
2560 { 53, 237},\r
2561 { 53, 812},\r
2562 { 53, 237},\r
2563 { 53, 812},\r
2564 { 53, 237},\r
2565 { 53, 524},\r
2566 { 53, 524},\r
2567 { 53, 237},\r
2568 { 53, 237},\r
2569 { 53, 237},\r
2570 { 53, 237},\r
2571 { 53, 524},\r
2572 { 53, 2959},\r
2573 { 53, 237},\r
2574 { 53, 812},\r
2575 { 53, 237},\r
2576 { 53, 812},\r
2577 { 53, 237},\r
2578 { 53, 812},\r
2579 { 53, 237},\r
2580 { 53, 524},\r
2581 { 53, 524},\r
2582 { 53, 237},\r
2583 { 53, 237},\r
2584 { 53, 237},\r
2585 { 53, 237},\r
2586 { 53, 524},\r
2587 { 53, 0}\r
2588 }\r
2589};\r
2590*/\r
2591\r
2592\r
2593const PGM_P *powerCodes[] PROGMEM = {\r
2594 &sonyCode, &rcaCode, &panasonicCode, &sharpCode, &toshibaCode,\r
2595 &philipsCode, &samsungCode,&zenithCode, &pioneerCode, &sylvaniaCode,\r
2596 &jvcCode, &hitachiCode, &sampoCode, &hisenseCode, &viewsonicCode,\r
2597 &bushCode, &aocCode, &bellCode, &pioneer2Code, &fujitsuCode,\r
2598 &goldstarCode, &daewooCode, &NECCode, &admiralCode, &sony2Code,\r
2599 &viewsonic2Code, &zenith2Code, &thompsonCode, &brillianCode, &magnavoxCode,\r
2600 &viewsonic3Code, &crownCode, &hitachi2Code, &fujitsu2Code, &hitachi3Code,\r
2601 &NEC2Code, &hitachi4Code, &anamCode, &aoc2Code, &candleCode,\r
2602 &contecCode, &contec2Code, &sony3Code, &alleronCode, &contec3Code, \r
2603 &fisherCode\r
2604};\r
2605\r
2606\r
2607uint8_t num_codes = (sizeof(powerCodes)/sizeof(*powerCodes));\r
This page took 3.337847 seconds and 4 git commands to generate.