Can't get AACkeys to work ?
trying send input computer using ir remote, aackeys configured on right port , baud, inputs show on serial monitor yet can't aackeys interpret them, here's code
#include <irremote.h>
#include <irremoteint.h>
int receiver = 2;
irrecv irrecv(receiver);
decode_results results;
void setup() {
// put setup code here, run once:
serial.begin(9600);
irrecv.enableirin();
}
void loop() {
// put main code here, run repeatedly:
if (irrecv.decode(&results)) {
if (results.value == 0xffa25d) {
serial.println("whatever");
delay(200);
}
irrecv.resume();
}
}
#include <irremote.h>
#include <irremoteint.h>
int receiver = 2;
irrecv irrecv(receiver);
decode_results results;
void setup() {
// put setup code here, run once:
serial.begin(9600);
irrecv.enableirin();
}
void loop() {
// put main code here, run repeatedly:
if (irrecv.decode(&results)) {
if (results.value == 0xffa25d) {
serial.println("whatever");
delay(200);
}
irrecv.resume();
}
}
your code above send "whatever" guess want receive through aackeys , type in text editor or ?
quote
the inputs show on serial monitordo have arduino serial monitor open while try transmit?
Arduino Forum > Using Arduino > Programming Questions > Can't get AACkeys to work ?
arduino
Comments
Post a Comment