/* this sketch randomly turns on one of the connected LEDs (see the array 'ledPin') and it also turns on a motor connected to a PWM output (see the ing 'motorPin') to a randomized strenth */ int ledPin[] = {3, 5, 6, 9, 10, 11}; // choose the pin for the LED, all are PWM int LED_PIN_NUM = 6; int ramps[6]; int inputPin = 2; // choose the input pin (for a pushbutton) int val = 0; // variable for reading the pin status void setup() { Serial.begin(9600); int k = 0; for (k=0;k