Skip to content

Instantly share code, notes, and snippets.

@rafalw rafalw/licznik.ino
Created Oct 31, 2018

Embed
What would you like to do?
Test układu (pracownia)
// Zmień poniższą wartość żeby przyspieszyć działanie:
#define STEP 100
void setup() {
for (int i = 0; i < 8; i++) {
pinMode(i, OUTPUT);
digitalWrite(i, LOW);
}
}
void loop() {
for (int i = 0; i < 8; i++) {
digitalWrite(i, HIGH);
delay(STEP);
}
for (int i = 0; i < 8; i++) {
digitalWrite(i, LOW);
delay(STEP);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.