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();
  }
 }

your code above send "whatever" guess want receive through aackeys , type in text editor or ?

quote
the inputs show on serial monitor
do have arduino serial monitor open while try transmit?


Arduino Forum > Using Arduino > Programming Questions > Can't get AACkeys to work ?


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'