Skip to content

Instantly share code, notes, and snippets.

@sprae
Created May 4, 2014
Embed
What would you like to do?
Proste sterowanie 8 LED-ami w Arduino
byte leds[8] = {2, 3, 4, 5, 6, 7, 8, 9};
void setup()
{
for (byte i=0; i<8; i++)
{
pinMode(leds[i], OUTPUT);
digitalWrite(leds[i], HIGH);
}
}
void loop()
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment