Hey, I am working on my lil random machine that I am making for fun, and I need some help with syntax. I am extremely new (about 2 days into circuitry design, layout, and programming) so I am really green.
I am trying to digitalWrite on all pins in a series except for 1 pin (ill name it light), and then I want I want that 1 pin to either go up in series or down in series according to another switch I have. (that one works :P)
I am wondering if this would work... (shorthanding to the part that doesn't work)
I am brand new to programming so I almost expect that line of code to be wrong, specifically the "((5,12) - fred," part, but I am not sure what is the correct syntax... help would be awesome.
Is there any guides online that you know of that go into further detail about the for command?? I really like to know why everything works together and I am not familiar with the for command (I didn't even know it existed hehe). I will also do research on my own. Thank you again