declare array in arduino code example
Example 1: array arduino
int myArray[6];
int myArray[] = {2, 4, 8, 3, 6};
int myArray[6] = {2, 4, -8, 3, 2};
Example 2: variable array arduino
var myArray[] = {d1,d2,d3,d4,d4};
var myArray[3]:
int myArray[6];
int myArray[] = {2, 4, 8, 3, 6};
int myArray[6] = {2, 4, -8, 3, 2};
var myArray[] = {d1,d2,d3,d4,d4};
var myArray[3]: