Created
April 28, 2016 04:18
-
-
Save DivinityArcane/8d934f7030493343917b34de06dff7b0 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
const int pulsePin = 13; | |
const int pulseLength = 10; // Pulse time in milliseconds | |
const int pulseDelay = 10; // Delay between pulses | |
void setup() { | |
pinMode(pulsePin, OUTPUT); | |
} | |
void loop() { | |
digitalWrite(pulsePin, 1); | |
delay(pulseLength); | |
digitalWrite(pulsePin, 0); | |
delay(pulseDelay); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment