In order to view this site properly you need to activate and/or allow JavaScript on this site.
Need help with enable JavaScript? please read this how you to activate the JavaScript.
void setup() { for(int i=17; i>=2; i--){ pinMode(i, OUTPUT); digitalWrite(i, HIGH); } } void loop() { for(int i=2; i<=17; i++){ digitalWrite(i, LOW); delay(100); } for(int i=17; i>=2; i--){ digitalWrite(i, HIGH); delay(100); } }