1 Commits

Author SHA1 Message Date
Rafi Khan
13ac290b3b working on restructuring and renaming. Change IRremote.h to AIRremote.h
If there are other ideas for a better name then we can use that, A =
Arduino in case it wasnt obvious.
2016-12-11 20:28:43 -06:00
37 changed files with 42 additions and 45 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -5,7 +5,7 @@
**Code Block:**
```c
#include <IRremote.h>
#include <AIRremote.h>
.....

View File

@@ -1,6 +1,3 @@
## 2.2.2 - 2017/01/20
- Fixed naming bug [PR #398](https://github.com/z3t0/Arduino-IRremote/pull/398)
## 2.2.1 - 2016/07/27
- Added tests for Lego Power Functions Protocol [PR #336](https://github.com/z3t0/Arduino-IRremote/pull/336)

View File

@@ -6,7 +6,7 @@
* http://arcfn.com
*/
#include "IRremote.h"
#include "AIRremote.h"
#define POWER 0x7F80
#define AIWA_RC_T501

View File

@@ -15,7 +15,7 @@
* http://arcfn.com
*/
#include <IRremote.h>
#include <AIRremote.h>
int RECV_PIN = 11;
int BUTTON_PIN = 12;
@@ -126,7 +126,7 @@ void sendCode(int repeat) {
Serial.println(codeValue, HEX);
}
else if (codeType == JVC) {
irsend.sendJVC(codeValue, codeLen, false);
irsend.sendPanasonic(codeValue, codeLen);
Serial.print("Sent JVC");
Serial.println(codeValue, HEX);
}

View File

@@ -6,7 +6,7 @@
* http://arcfn.com
*/
#include <IRremote.h>
#include <AIRremote.h>
int RECV_PIN = 11;

View File

@@ -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.

View File

@@ -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)
@@ -66,7 +66,7 @@ void dumpInfo (decode_results *results)
{
// Check if the buffer overflowed
if (results->overflow) {
Serial.println("IR code too long. Edit IRremoteInt.h and increase RAWBUF");
Serial.println("IR code too long. Edit IRremoteInt.h and increase RAWLEN");
return;
}

View File

@@ -6,7 +6,7 @@
* http://arcfn.com
*/
#include <IRremote.h>
#include <AIRremote.h>
int RECV_PIN = 11;
int RELAY_PIN = 4;

View File

@@ -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"));
}

View File

@@ -7,7 +7,7 @@
*/
#include <IRremote.h>
#include <AIRremote.h>
IRsend irsend;

View File

@@ -18,7 +18,7 @@
*/
#include <IRremote.h>
#include <AIRremote.h>
IRsend irsend;

View File

@@ -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.

View File

@@ -25,7 +25,7 @@
* http://arcfn.com
*/
#include <IRremote.h>
#include <AIRremote.h>
int RECV_PIN = 11;
int LED_PIN = 3;

View File

@@ -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

View File

@@ -1,4 +1,4 @@
#include <IRremote.h>
#include <AIRremote.h>
#include <Wire.h>

View File

@@ -3,7 +3,7 @@
* Copyright (c) 2016 Philipp Henkel
*/
#include <IRremote.h>
#include <AIRremote.h>
#include <IRremoteInt.h>
IRsend irsend;

View File

@@ -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
//+=============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//+=============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//+=============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
// Reverse Engineered by looking at RAW dumps generated by IRremote

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
#include "ir_Lego_PF_BitStreamEncoder.h"

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//+=============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================

View File

@@ -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"
//==============================================================================

View File

@@ -1,4 +1,4 @@
#include "IRremote.h"
#include "AIRremote.h"
#include "IRremoteInt.h"
//==============================================================================