mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2026-01-05 13:02:49 +00:00
Improve documentation and fixup IRrecvDumpV2.ino
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// Include the IRremote library headers
|
||||
// Include the IRremote library header
|
||||
//
|
||||
#include <IRremote.h>
|
||||
#include <IRremoteInt.h>
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Tell IRremote which Arduino pin is connected to the IR Receiver (TSOP4838)
|
||||
|
||||
@@ -66,6 +66,13 @@ Now you must do a few things to add it to the IRremote system:
|
||||
|
||||
B. Save your changes and close the file
|
||||
|
||||
You will probably want to add your new protocol to the example sketch
|
||||
|
||||
3. Open MyDocuments\Arduino\libraries\IRremote\examples\IRrecvDumpV2.ino
|
||||
|
||||
A. In the encoding() function, add:
|
||||
case SHUZU: Serial.print("SHUZU"); break ;
|
||||
|
||||
Now open the Arduino IDE, load up the rawDump.ino sketch, and run it.
|
||||
Hopefully it will compile and upload.
|
||||
If it doesn't, you've done something wrong. Check your work.
|
||||
|
||||
Reference in New Issue
Block a user