Taguchi Yuuki / IRremote

Dependents:   Lilnija_29012017 NucleoF042K6_IRReceiver

Committer:
yuhki50
Date:
Sat Jan 23 06:16:48 2016 +0000
Revision:
0:70c8e56bac45
import https://github.com/z3t0/Arduino-IRremote e3ec11d

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yuhki50 0:70c8e56bac45 1 /*
yuhki50 0:70c8e56bac45 2 * IRremote: IRsendDemo - demonstrates sending IR codes with IRsend
yuhki50 0:70c8e56bac45 3 * An IR LED must be connected to Arduino PWM pin 3.
yuhki50 0:70c8e56bac45 4 * Version 0.1 July, 2009
yuhki50 0:70c8e56bac45 5 * Copyright 2009 Ken Shirriff
yuhki50 0:70c8e56bac45 6 * http://arcfn.com
yuhki50 0:70c8e56bac45 7 */
yuhki50 0:70c8e56bac45 8
yuhki50 0:70c8e56bac45 9
yuhki50 0:70c8e56bac45 10 #include <IRremote.h>
yuhki50 0:70c8e56bac45 11
yuhki50 0:70c8e56bac45 12 IRsend irsend;
yuhki50 0:70c8e56bac45 13
yuhki50 0:70c8e56bac45 14 void setup()
yuhki50 0:70c8e56bac45 15 {
yuhki50 0:70c8e56bac45 16 }
yuhki50 0:70c8e56bac45 17
yuhki50 0:70c8e56bac45 18 void loop() {
yuhki50 0:70c8e56bac45 19 for (int i = 0; i < 3; i++) {
yuhki50 0:70c8e56bac45 20 irsend.sendSony(0xa90, 12);
yuhki50 0:70c8e56bac45 21 delay(40);
yuhki50 0:70c8e56bac45 22 }
yuhki50 0:70c8e56bac45 23 delay(5000); //5 second delay between each signal burst
yuhki50 0:70c8e56bac45 24 }