Skip to content

Instantly share code, notes, and snippets.

@Toastdude
Created November 4, 2011 04:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Toastdude/76d7f7c9c0c862eac9a7 to your computer and use it in GitHub Desktop.
Save Toastdude/76d7f7c9c0c862eac9a7 to your computer and use it in GitHub Desktop.
void setup() {
pinMode(2, OUTPUT);
pinMode(8, OUTPUT);
}
void loop() {
int f;
for (f=0; f < 1000; f=f+1);
{
digitalWrite(2, HIGH);
delay(f);
digitalWrite(2, LOW);
digitalWrite(8, HIGH);
delay(f);
digitalWrite(8, LOW);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment