SouthernAtHeart:
Note that when declaring an array of type char, one more element than your initialization is required, to hold the required null character.
Does this mean if my array is an int, it doesn't have to be one bigger?
So this would be fine:buttonPin[7] = {13,12,11,10,5,9,6};Thanks.
Or just skip the explicit size entirely. The compiler is pretty smart, eh.
const char mystring[] = "My string!";
const int buttonPin[] = { 13,12,11,10,5,9,6 };