help with arrays

232:
Simple question deserves simple answer and not a sermon.
Where are you guys getting such picky attitude?
And some of you even do not read the question - where did the pin 0 came from ?

are they true?or i must use bool arrays instead of int??

You MUST NOT use bool type...

  1. bool is not standard C/C++ type
  2. HIGH or LOW is also not C/C++ standard
    3, You should always use smallest size of variable type to accomplish the task
  3. Modern compilers let you specify the int size / type - such as uint8_t

You're new to Arduino, aren't you?