diff --git a/projekte/jackmcblink/blinkenfoo_5Leds/blinkenfoo_5Leds.pde b/projekte/jackmcblink/blinkenfoo_5Leds/blinkenfoo_5Leds.pde new file mode 100644 index 0000000..d9b5b31 --- /dev/null +++ b/projekte/jackmcblink/blinkenfoo_5Leds/blinkenfoo_5Leds.pde @@ -0,0 +1,30 @@ +int i,foo; +boolean b; + +void setup() { + + pinMode(2, OUTPUT); + pinMode(3, OUTPUT); + pinMode(4, OUTPUT); + pinMode(5, OUTPUT); + pinMode(6, OUTPUT); + pinMode(7, OUTPUT); + pinMode(8, OUTPUT); + pinMode(9, OUTPUT); + + b = false; + foo = 0; + + +} + +void loop() { + delay(random(25)*0+15); + for (i = 0; i<=7; i++) { + digitalWrite(i+2,random(2)); + } +// b = !b; + + foo++; + +}