6 Commits

Author SHA1 Message Date
Rafi Khan
e12557b813 Merge branch 'master' of https://github.com/z3t0/Arduino-IRremote 2017-01-30 20:12:25 -06:00
Rafi Khan
a4cf8bc43e Merge pull request #406 from z3t0/panasonic-jvc
IRrecord.ino typo
2017-01-26 21:11:10 -06:00
Rafi Khan
3b41130ff9 Manual merge of #398 2017-01-22 01:52:14 -06:00
Rafi Khan
98d6a2cf3f renamed "boarddefs.h" to "IRremoteBoardDefs.h" to avoid possible
conflcits. This was suggested in #375 and aims to prevent a **possible**
issue.
2017-01-20 23:13:28 -06:00
Rafi Khan
96efb5930a Merge pull request #402 from felipenoris/fn/fix-msg
fix example error message
2017-01-14 14:14:16 -06:00
Felipe Noronha
9a74475c8d fix example error message 2017-01-13 11:58:40 -02:00
39 changed files with 50 additions and 46 deletions

View File

@@ -22,7 +22,7 @@
// Defining IR_GLOBAL here allows us to declare the instantiation of global variables // Defining IR_GLOBAL here allows us to declare the instantiation of global variables
#define IR_GLOBAL #define IR_GLOBAL
# include "AIRremote.h" # include "IRremote.h"
# include "IRremoteInt.h" # include "IRremoteInt.h"
#undef IR_GLOBAL #undef IR_GLOBAL

View File

@@ -15,8 +15,8 @@
// Whynter A/C ARC-110WD added by Francesco Meschia // Whynter A/C ARC-110WD added by Francesco Meschia
//****************************************************************************** //******************************************************************************
#ifndef AIRremote_h #ifndef IRremote_h
#define AIRremote_h #define IRremote_h
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// The ISR header contains several useful macros the user may wish to use // The ISR header contains several useful macros the user may wish to use

View File

@@ -17,8 +17,8 @@
// Whynter A/C ARC-110WD added by Francesco Meschia // Whynter A/C ARC-110WD added by Francesco Meschia
//****************************************************************************** //******************************************************************************
#ifndef boarddefs_h #ifndef IRremoteBoardDefs_h
#define boarddefs_h #define IRremoteBoardDefs_h
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Defines for blinking the LED // Defines for blinking the LED
@@ -545,4 +545,4 @@
# error "Internal code configuration error, no known IR_USE_TIMER# defined\n" # error "Internal code configuration error, no known IR_USE_TIMER# defined\n"
#endif #endif
#endif // ! boarddefs_h #endif // ! IRremoteBoardDefs_h

View File

@@ -108,6 +108,6 @@ EXTERN volatile irparams_t irparams;
#define SPACE 1 #define SPACE 1
// All board specific stuff has been moved to its own file, included here. // All board specific stuff has been moved to its own file, included here.
#include "boarddefs.h" #include "IRremoteBoardDefs.h"
#endif #endif

View File

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

View File

@@ -1,3 +1,7 @@
## 2.2.2 - 2017/01/20
- Renamed "boarddefs.h" [ISSUE #375](https://github.com/z3t0/Arduino-IRremote/issues/375)
- Fixed naming bug [PR #398](https://github.com/z3t0/Arduino-IRremote/pull/398)
## 2.2.1 - 2016/07/27 ## 2.2.1 - 2016/07/27
- Added tests for Lego Power Functions Protocol [PR #336](https://github.com/z3t0/Arduino-IRremote/pull/336) - 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 * http://arcfn.com
*/ */
#include "AIRremote.h" #include "IRremote.h"
#define POWER 0x7F80 #define POWER 0x7F80
#define AIWA_RC_T501 #define AIWA_RC_T501

View File

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

View File

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

View File

@@ -8,7 +8,7 @@
* LG added by Darryl Smith (based on the JVC protocol) * LG added by Darryl Smith (based on the JVC protocol)
*/ */
#include <AIRremote.h> #include <IRremote.h>
/* /*
* Default is Arduino pin D11. * Default is Arduino pin D11.

View File

@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Include the IRremote library header // Include the IRremote library header
// //
#include <AIRremote.h> #include <IRremote.h>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Tell IRremote which Arduino pin is connected to the IR Receiver (TSOP4838) // 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 // Check if the buffer overflowed
if (results->overflow) { if (results->overflow) {
Serial.println("IR code too long. Edit IRremoteInt.h and increase RAWLEN"); Serial.println("IR code too long. Edit IRremoteInt.h and increase RAWBUF");
return; return;
} }

View File

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

View File

@@ -11,7 +11,7 @@
*/ */
#include <AIRremote.h> #include <IRremote.h>
void setup() void setup()
{ {
@@ -224,7 +224,7 @@ void dumpFooter() {
Serial.println(F("Notes: ")); 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(" - 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(" - IRremteInt.h"));
Serial.println(F(" - AIRremote.h")); Serial.println(F(" - IRremote.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(" - 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")); 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 <AIRremote.h> #include <IRremote.h>
IRsend irsend; IRsend irsend;

View File

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

View File

@@ -4,12 +4,12 @@
* Copyright 2009 Ken Shirriff * Copyright 2009 Ken Shirriff
* http://arcfn.com * http://arcfn.com
* *
* Note: to run these tests, edit IRremote/AIRremote.h to add "#define TEST" * Note: to run these tests, edit IRremote/IRremote.h to add "#define TEST"
* You must then recompile the library by removing IRremote.o and restarting * You must then recompile the library by removing IRremote.o and restarting
* the arduino IDE. * the arduino IDE.
*/ */
#include <AIRremote.h> #include <IRremote.h>
#include <IRremoteInt.h> #include <IRremoteInt.h>
// Dumps out the decode_results structure. // Dumps out the decode_results structure.

View File

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

View File

@@ -6,7 +6,7 @@
* http://arcfn.com * http://arcfn.com
* JVC and Panasonic protocol added by Kristian Lauszus (Thanks to zenwheel and other people at the original blog post) * JVC and Panasonic protocol added by Kristian Lauszus (Thanks to zenwheel and other people at the original blog post)
*/ */
#include <AIRremote.h> #include <IRremote.h>
#define PanasonicAddress 0x4004 // Panasonic address (Pre data) #define PanasonicAddress 0x4004 // Panasonic address (Pre data)
#define PanasonicPower 0x100BCBD // Panasonic Power button #define PanasonicPower 0x100BCBD // Panasonic Power button

View File

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

View File

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

View File

@@ -17,7 +17,7 @@
void mark (int t) { printf("+%d," , t); } void mark (int t) { printf("+%d," , t); }
void space (int t) { printf("-%d, ", t); } void space (int t) { printf("-%d, ", t); }
#else #else
# include "AIRremote.h" # include "IRremote.h"
#endif // TEST #endif // TEST
//+============================================================================= //+=============================================================================

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
#include "AIRremote.h" #include "IRremote.h"
#include "IRremoteInt.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: Now you must do a few things to add it to the IRremote system:
1. Open AIRremote.h and make the following changes: 1. Open IRremote.h and make the following changes:
REMEMEBER to change occurences of "SHUZU" with the name of your protocol REMEMEBER to change occurences of "SHUZU" with the name of your protocol
A. At the top, in the section "Supported Protocols", add: A. At the top, in the section "Supported Protocols", add:
@@ -91,7 +91,7 @@ Regards,
BlueChip BlueChip
*/ */
#include "AIRremote.h" #include "IRremote.h"
#include "IRremoteInt.h" #include "IRremoteInt.h"
//============================================================================== //==============================================================================

View File

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