//By D.Weerasinghe COTM
#define PinDP 2
#define PinC 3
#define PinD 4
#define PinE 5
#define PinG 6
#define PinF 7
#define PinA 8
#define PinB 9
#define pinCount 8
int SSDPins[] = {PinA, PinB, PinC, PinD, PinE, PinF, PinG, PinDP};
// int SSDPins[]= {8, 9, 3, 4, 5, 7, 6, 2};
void setup() {
// put your setup code here, to run once:
for (int i=2; i<10; i++){
pinMode(i,OUTPUT);
}
// To test connections
for(int currentpin = 0;currentpin < pinCount; currentpin++ ){
digitalWrite(SSDPins[currentpin], HIGH);
delay(100);
}
delay(1500);
for(int currentpin = 0;currentpin < pinCount; currentpin++ ){
digitalWrite(SSDPins[currentpin], LOW);
delay(100);
}
}
void loop() {
// put your main code here, to run repeatedly:
}