I get the following hexadecimal value: 7200000FFFFFFFF
However when I use the following code in the transmitter , it doesn't work.
However when I use the following code in the transmitter , it doesn't work.
`#include <IRremote.h>
IRsend irsend;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
irsend.sendNEC(0x7200000FFFFFFFF, 32);
}`
When I compared the signals from the transmitter and the reciever they were not the same.
What could be the problem?
Does panasonic uses diffrent protocol ?
Let me know ASAP.
Thank you.
// Results returned from the decoder
class decode_results {
public:
decode_type_t decode_type; // NEC, SONY, RC5, UNKNOWN
union { // This is used for decoding Panasonic and Sharp data
unsigned int panasonicAddress;
unsigned int sharpAddress;
};
unsigned long value; // Decoded value
int bits; // Number of bits in decoded value
volatile unsigned int *rawbuf; // Raw intervals in .5 us ticks
int rawlen; // Number of records in rawbuf.
};
Since you seem to be able to get the value from this class, you shouldn't have any trouble getting the decode_type.
You are sending a 64 bit value but saying that it is a 32 bit value. Use the demo sketches that come with the IRremote library to get the other information you need, like the bit length.