Created
July 7, 2015 12:40
-
-
Save michaelsarduino/6fe325e3b4ba5cf655ed to your computer and use it in GitHub Desktop.
Dieser Sketch hilft beim herausfinden, welcher Pin des Arduino, welchen LED Strich des 7 Segment Displays ansteuert.
This file contains hidden or 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() { | |
int i; | |
Serial.begin(9600); | |
for(i=2; i<10; i++) | |
{ | |
Serial.println(i); | |
pinMode(i, OUTPUT); | |
digitalWrite(i, HIGH); | |
delay(5000); | |
digitalWrite(i, LOW); | |
} | |
} | |
void loop() { | |
//keine zu wiederholende Aktion | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment