Add Sharp and DISH transmission support.

This change is from Todd Treece:
http://arcfn.com/2009/08/multi-protocol-infrared-remote-library.html?showComment=1264093513759#c3138785324309374640
This commit is contained in:
Ken Shirriff
2010-01-22 23:39:46 -08:00
parent e12e9eaac8
commit 6510b2c05c
3 changed files with 94 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ public:
#define SONY 2
#define RC5 3
#define RC6 4
#define DISH 5
#define SHARP 6
#define UNKNOWN -1
// Decoded value for NEC when a repeat code is received
@@ -78,6 +80,8 @@ public:
void sendRaw(unsigned int buf[], int len, int hz);
void sendRC5(unsigned long data, int nbits);
void sendRC6(unsigned long data, int nbits);
void sendDISH(unsigned long data, int nbits);
void sendSharp(unsigned long data, int nbits);
// private:
void enableIROut(int khz);
VIRTUAL void mark(int usec);