mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2025-12-24 07:16:15 +00:00
Compare commits
1 Commits
salocinx-m
...
experiment
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
13ac290b3b |
@@ -15,8 +15,8 @@
|
||||
// Whynter A/C ARC-110WD added by Francesco Meschia
|
||||
//******************************************************************************
|
||||
|
||||
#ifndef IRremote_h
|
||||
#define IRremote_h
|
||||
#ifndef AIRremote_h
|
||||
#define AIRremote_h
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// The ISR header contains several useful macros the user may wish to use
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
// Defining IR_GLOBAL here allows us to declare the instantiation of global variables
|
||||
#define IR_GLOBAL
|
||||
# include "IRremote.h"
|
||||
# include "AIRremote.h"
|
||||
# include "IRremoteInt.h"
|
||||
#undef IR_GLOBAL
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
**Code Block:**
|
||||
```c
|
||||
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
|
||||
.....
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* http://arcfn.com
|
||||
*/
|
||||
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
|
||||
#define POWER 0x7F80
|
||||
#define AIWA_RC_T501
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* http://arcfn.com
|
||||
*/
|
||||
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
|
||||
int RECV_PIN = 11;
|
||||
int BUTTON_PIN = 12;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* http://arcfn.com
|
||||
*/
|
||||
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
|
||||
int RECV_PIN = 11;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* LG added by Darryl Smith (based on the JVC protocol)
|
||||
*/
|
||||
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
|
||||
/*
|
||||
* Default is Arduino pin D11.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// Include the IRremote library header
|
||||
//
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Tell IRremote which Arduino pin is connected to the IR Receiver (TSOP4838)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* http://arcfn.com
|
||||
*/
|
||||
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
|
||||
int RECV_PIN = 11;
|
||||
int RELAY_PIN = 4;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
|
||||
void setup()
|
||||
{
|
||||
@@ -224,7 +224,7 @@ void dumpFooter() {
|
||||
Serial.println(F("Notes: "));
|
||||
Serial.println(F(" - Most of the seetings above can be configured in the following files included as part of the library"));
|
||||
Serial.println(F(" - IRremteInt.h"));
|
||||
Serial.println(F(" - IRremote.h"));
|
||||
Serial.println(F(" - AIRremote.h"));
|
||||
Serial.println(F(" - You can save SRAM by disabling the Decode or Send features for any protocol (Near the top of IRremoteInt.h)"));
|
||||
Serial.println(F(" - Some Timer conflicts, with other libraries, can be easily resolved by configuring a differnt Timer for your platform"));
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
|
||||
IRsend irsend;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
|
||||
IRsend irsend;
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
* Copyright 2009 Ken Shirriff
|
||||
* http://arcfn.com
|
||||
*
|
||||
* Note: to run these tests, edit IRremote/IRremote.h to add "#define TEST"
|
||||
* Note: to run these tests, edit IRremote/AIRremote.h to add "#define TEST"
|
||||
* You must then recompile the library by removing IRremote.o and restarting
|
||||
* the arduino IDE.
|
||||
*/
|
||||
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
#include <IRremoteInt.h>
|
||||
|
||||
// Dumps out the decode_results structure.
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
* http://arcfn.com
|
||||
*/
|
||||
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
|
||||
int RECV_PIN = 11;
|
||||
int LED_PIN = 3;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* http://arcfn.com
|
||||
* JVC and Panasonic protocol added by Kristian Lauszus (Thanks to zenwheel and other people at the original blog post)
|
||||
*/
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
|
||||
#define PanasonicAddress 0x4004 // Panasonic address (Pre data)
|
||||
#define PanasonicPower 0x100BCBD // Panasonic Power button
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
#include <Wire.h>
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Copyright (c) 2016 Philipp Henkel
|
||||
*/
|
||||
|
||||
#include <IRremote.h>
|
||||
#include <AIRremote.h>
|
||||
#include <IRremoteInt.h>
|
||||
|
||||
IRsend irsend;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
void mark (int t) { printf("+%d," , t); }
|
||||
void space (int t) { printf("-%d, ", t); }
|
||||
#else
|
||||
# include "IRremote.h"
|
||||
# include "AIRremote.h"
|
||||
#endif // TEST
|
||||
|
||||
//+=============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//+=============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//+=============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
// Reverse Engineered by looking at RAW dumps generated by IRremote
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
#include "ir_Lego_PF_BitStreamEncoder.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//+=============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -31,7 +31,7 @@ You have written the code to support your new protocol!
|
||||
|
||||
Now you must do a few things to add it to the IRremote system:
|
||||
|
||||
1. Open IRremote.h and make the following changes:
|
||||
1. Open AIRremote.h and make the following changes:
|
||||
REMEMEBER to change occurences of "SHUZU" with the name of your protocol
|
||||
|
||||
A. At the top, in the section "Supported Protocols", add:
|
||||
@@ -91,7 +91,7 @@ Regards,
|
||||
BlueChip
|
||||
*/
|
||||
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "IRremote.h"
|
||||
#include "AIRremote.h"
|
||||
#include "IRremoteInt.h"
|
||||
|
||||
//==============================================================================
|
||||
|
||||
Reference in New Issue
Block a user