Created
November 28, 2015 15:01
-
-
Save michaelsarduino/dc0d1d0d26f94e421a8d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <IRremote.h> // IRremote Bibliothek nachladen | |
IRsend irsend; | |
// RAW Signal zum an/ausschalten des Fernsehers | |
unsigned int powerOn[68] = {4500, 4450, 600, 1600, 600, 1650, 550, 1650, 600, 500, 600, 550, 550, 550, 600, 500, 600, 500, 600, 1650, 550, 1650, 600, 1650, 550, 550, 550, 550, 600, 500, 600, 500, 600, 550, 550, 550, 550, 1650, 600, 500, 600, 550, 550, 550, 550, 550, 600, 500, 600, 500, 600, 1600, 600, 550, 600, 1600, 600, 1650, 550, 1650, 600, 1650, 550, 1650, 600, 1650, 550}; | |
void setup() | |
{ | |
Serial.begin(9600); | |
delay(1000); | |
irsend.sendRaw(powerOn,68,38); //RAW Signal, laenge, frequenz meistens 38kHz | |
} | |
void loop() { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment