Skip to content

Commit

Permalink
Clarify protocol selection in some of the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisMiCa committed Jan 16, 2022
1 parent be13e23 commit b7a098c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/HelloNEC/HelloNEC.ino
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
* or the README.pdf file in the extras folder of this library.
*/

#define IR_SMALLD_NEC //1st: define which protocol to use and then,
//#define IR_SMALLD_NECx
#define IR_SMALLD_NEC //1st: define which protocol to use:
//#define IR_SMALLD_NECx // IR_SMALLD_NEC or IR_SMALLD_NECx, (not both);
#include <IRsmallDecoder.h> //2nd: include the library;
IRsmallDecoder irDecoder(2); //3rd: create one decoder object with the correct digital pin;
irSmallD_t irData; //4th: declare one decoder data structure;
Expand Down
3 changes: 2 additions & 1 deletion examples/HelloSAMSUNG/HelloSAMSUNG.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
* or the README.pdf file in the extras folder of this library.
*/

#define IR_SMALLD_SAMSUNG //1st: define which protocol to use and then,
#define IR_SMALLD_SAMSUNG //1st: define which protocol to use:
//#define IR_SMALLD_SAMSUNG32 // IR_SMALLD_SAMSUNG or IR_SMALLD_SAMSUNG32, (not both);
#include <IRsmallDecoder.h> //2nd: include the library;
IRsmallDecoder irDecoder(2); //3rd: create one decoder object with the correct interrupt pin;
irSmallD_t irData; //4th: declare one decoder data structure;
Expand Down
4 changes: 2 additions & 2 deletions examples/HelloSIRCbasic/HelloSIRCbasic.ino
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*/


#define IR_SMALLD_SIRC12 //1st: define which protocol to use;
//#define IR_SMALLD_SIRC15
#define IR_SMALLD_SIRC12 //1st: define which protocol to use
//#define IR_SMALLD_SIRC15 // (only one of these 3);
//#define IR_SMALLD_SIRC20

#include <IRsmallDecoder.h> //2nd: include the library;
Expand Down

0 comments on commit b7a098c

Please sign in to comment.