Hello Everyone.
for the last few months i have been playing around creating projects for my Mega 2560.
I came to start it up last night and... nothing coming out... ![]()
the LED for power ON is lit.. the LED by the L (near pin 13) is lit.. and im getting 5v out of the board...
for some reason it is not lighting up my 3x8 segment display...
Code is here and i know its not the code at fault as it has been working fine before:
int pinArray[] = {26, 31, 30, 29, 39, 49, 48, 47, 46, 36};
//int pinArray[] = {26, 27, 28, 29, 30, 31, 32, 36, 37, 38, 39, 40, 41, 42, 46, 47, 48, 49, 50, 51, 52};
int count = 0;
int timer = 100;
void setup(){
 for (count=0;count<10;count++) {
  pinMode(pinArray[count], OUTPUT);
 }
}
void loop() {
 for (count=0;count<9;count++) {
 Â
 digitalWrite(pinArray[count], HIGH);
 delay(timer);
 digitalWrite(pinArray[count + 1], HIGH);
 delay(timer);
 digitalWrite(pinArray[count], LOW);
 delay(timer);
 digitalWrite(pinArray[count + 1], LOW);
 }
}
This was working fine less than 1 week ago, so no idea why on earth its not working now =(
Any help would be great !
Thanks
Mutley