#include <SoftwareSerial.h>
//#define rx 3
//#define tx 4
//SoftwareSerial serial(rx, tx);
int PWM_pin[] = {0,1,2};
void setup() {
//serial.begin(9600);
}
void loop() {
int e = random(0,255);
int pin = random(0,3);
char led = (PWM_pin[pin]);
analogWrite (led, e);
//serial.println(pin);
delay(500);
analogWrite(led,0);
delay(500);
}