IR Send Library...

what do i have to put in the serial monitor to make the arduino send the power code??

#include <IRremote.h>

IRsend irsend;

void setup()
{
  Serial.begin(9600);
}

void loop() {
  if (Serial.read() != -1) {
    for (int i = 0; i < 3; i++) {
      irsend.sendSony(0xa90, 12); // Sony TV power code
      delay(100);
    }
  }
}

what do i have to put in the serial monitor to make the arduino send the power code??

Anything at all. You have to hit the send button, though.

@D.J.B.:
You've been asked before not to cross-post and keep spamming the same question in multiple places.

okay sorry :confused: