/********************************** * SoftRobotics Face **********************************/ const int pin1 = 9; const int pin2 = 10; int maxVal=255; void setup() { } void loop() { analogWrite(pin1, maxVal); delay(random(300,2000)); analogWrite(pin2, 0); delay(random(300,2000)); analogWrite(pin1 , 0); delay(random(500,5000)); analogWrite(pin2 ,maxVal); delay(random(500,5000)); }