const int lowestPin=2;
const int highestPin=6;
void setup() {
// put your setup code here, to run once:
for(int thisPin=lowestPin;thisPin<=highestPin;thisPin++)
{
pinMode(thisPin,OUTPUT);
}
}
void loop() {
// put your main code here, to run repeatedly:
for(int thisPin=lowestPin;thisPin<=highestPin;thisPin++)
{
for(int brightness=0;brightness<255;brightness++)
{
analogWrite(thisPin,brightness);
delay(2);
}
delay(100);
}
}