I hope this one is not silly
Your use of braces ({ and }) is still silly IMO, I'm afraid.
You should have braces at the start and end of each function. You should have them after each
for,
if,
else,
do,
while and
switch clause. You should not have them in the middle of a linear code sequence.
Each { and } should be on a separate line with matching pairs indented by the same amount and code between them indented by one extra level.
For example:
for(int thisPin = 0; thisPin < pinCount; thisPin++)
{pinMode (servoPins [thisPin], OUTPUT); }
Should IMO be:
// no change to the logic, considerable change to readability
for(int thisPin = 0; thisPin < pinCount; thisPin++)
{
pinMode (servoPins [thisPin], OUTPUT);
}
for(pos = 0; pos < 90; pos += 1)
// i'm sure a Gate to go here somewhere?
delay(del3);
for(pos = 90; pos>=1; pos-=1)
// Gate to go here?
delay(del5);
For loops without braces, making it easy to inadvertently associate the wrong statements with them. Make it explicit like this:
for(pos = 0; pos < 90; pos += 1)
{
// i'm sure a Gate to go here somewhere?
delay(del3);
for(pos = 90; pos>=1; pos-=1)
{
// Gate to go here?
delay(del5);
}
}
(I'm not sure I got the structure right here, because it's not at all obvious from your code what you intended it to be or what it actually was.)
You do nothing useful in both the for loops above so presumably this code is in a partially-hacked state and you are intending to populate some of those for loops with code to move servos.