I want to sequence through 6 LED's and I have written this code, but it does not seem to work. here is the code:
int ledpin[] = {3 ,4 ,5 ,6 ,7 ,8};
// The setup() method runs once, when the sketch starts
void setup() {
// initialize the digital pin as an output:
for(int i = 3; i == 8; i++)
pinMode(ledpin*, OUTPUT);* } // the loop() method runs over and over again, // as long as the Arduino has power
*void loop() * {
// The setup() method runs once, when the sketch starts
void setup() {
// initialize the digital pin as an output:
for(int i = 0; i <= 5; i++)
pinMode(ledpin*, OUTPUT); * } // the loop() method runs over and over again, // as long as the Arduino has power
*void loop() * {