I want to use an array to control output values. What can I do?

TolpuddleSartre:
You have a global variable called 'i' that sets brightness, then multiple locals also called 'i'.

Could that be what is confusing you?

Yes, that is possibly confusing me. I only wanted the 'i' to effect the value of brightness. Is there better way to index through the array?

TolpuddleSartre:
Why not an array of output pins?

I have done that, and may after I get this array running... In this instance I would rather have all the pins simultaneously producing an output - but that is not what even this code is doing. Is that possible? How do I do that?

Thank you