Created
November 30, 2013 12:30
-
-
Save ibanezmatt13/7718464 to your computer and use it in GitHub Desktop.
This file contains 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
int IR_Led = 13; | |
void setup() | |
{ | |
pinMode(IR_Led, OUTPUT); | |
digitalWrite(IR_Led, LOW); | |
} | |
void loop() | |
{ | |
digitalWrite(IR_Led, HIGH); | |
delayMicroseconds(9160); | |
digitalWrite(IR_Led, LOW); | |
delayMicroseconds(4568); | |
digitalWrite(IR_Led, HIGH); | |
delayMicroseconds(565.9); | |
digitalWrite(IR_Led, LOW); | |
delayMicroseconds(611.4); | |
digitalWrite(IR_Led, HIGH); | |
delayMicroseconds(546.6); | |
digitalWrite(IR_Led, LOW); | |
delayMicroseconds(607); | |
digitalWrite(IR_Led, HIGH); | |
delayMicroseconds(545.9); | |
digitalWrite(IR_Led, LOW); | |
delayMicroseconds(583.6); | |
digitalWrite(IR_Led, HIGH); | |
delayMicroseconds(535.5); | |
digitalWrite(IR_Led, LOW); | |
delayMicroseconds(616.4); | |
digitalWrite(IR_Led, HIGH); | |
delayMicroseconds(541.4); | |
digitalWrite(IR_Led, LOW); | |
delayMicroseconds(588.4); | |
digitalWrite(IR_Led, HIGH); | |
delayMicroseconds(564.25); | |
digitalWrite(IR_Led, LOW); | |
delayMicroseconds(590.25); | |
digitalWrite(IR_Led, HIGH); | |
delayMicroseconds(528.5); | |
digitalWrite(IR_Led, LOW); | |
delayMicroseconds(620.4); | |
digitalWrite(IR_Led, HIGH); | |
delayMicroseconds(539); | |
digitalWrite(IR_Led, LOW); | |
delayMicroseconds(587.1); | |
digitalWrite(IR_Led, HIGH); | |
delayMicroseconds(565); | |
digitalWrite(IR_Led, LOW); | |
delayMicroseconds(1735.1); | |
// etc... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment