Home |

Trigat

Send infrared signal with IR LED and Arduino

10-11-2017

Language or Platform: Arduino

Code:

// Turn Vizio TV on and off
// Put IR LED on pin 3 of Arduino Uno with a 180Ohm resistor.

#include <IRremote.h>

IRsend irsend;


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

void loop() {

     // altered the code just to send/test my raw code
     irsend.sendNEC(0x20DF10EF,32);
     delay(100);

}

Back