-
-
Save kaithar/6126cdf63932df6aab2f 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
void setup() { | |
pinMode(2, OUTPUT); | |
pinMode(8, OUTPUT); | |
} | |
void loop() { | |
float f; | |
{for (f=0; f < endValue; f=f+0.1); | |
} | |
digitalWrite(2, HIGH); | |
delay(f); | |
digitalWrite(2, LOW); | |
digitalWrite(8, HIGH); | |
delay(f); | |
digitalWrite(8, LOW); | |
} |
Author
kaithar
commented
Nov 4, 2011
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment