Simple question

what does do in the code? is it a way to have multiple pins under one name? having a hard time finding information online but am using it in my code. thanks for you time.

Some keypuncher got into your post and made it a bit difficult to figure out. Have another go at it?

thanks for letting me know. i guess it does something to the text too. i will write it differently.

so what does having one "["

and then a "]" after a number

do inside of code?

rexhex:
thanks for letting me know. i guess it does something to the text too. i will write it differently.

so what does having one "["

and then a "]" after a number

do inside of code?

It is to define and use an Array variable, which is a user defined data type in which such a named variable can have many members:

http://arduino.cc/en/Reference/Array

Ah yes, the brackets are used as tags in posts.

Do you mean something like this?

foo[2]

(Note use of code tags, click the # button while composing post.)

yes thats exactly what im talking about.

Well lefty pointed ya in the right direction. Them be array subscripts.

thanks lefty. for some reason i missed your response.

rexhex:
thanks lefty. for some reason i missed your response.

No problem, I've been married for decades so I'm use to having my remarks being missed. :smiley:

Lefty