Skip to content

Instantly share code, notes, and snippets.

@jpomykala
Created July 12, 2014 01:27
Show Gist options
  • Save jpomykala/f5eb6a6b3530bf4e432c to your computer and use it in GitHub Desktop.
Save jpomykala/f5eb6a6b3530bf4e432c to your computer and use it in GitHub Desktop.
Zamiast 8 funkcji, mamy jedną, bardziej uniwersalną :)
void dioda(int a, int b)
{
digitalWrite(a, LOW);
digitalWrite(b, HIGH);
delay(400);
digitalWrite(b, HIGH);
digitalWrite(a, LOW);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment