I couldn't find the answer how to initialize the array in FC7 ( so the simulation not complines as an Error) and not sure if this error would have any influence on the compiler?
The only way which I figure it out so far is by assigning the value it in the calculation block, but this is really painfull exercise as I cannot figure out working syntax apart individual variable (test_array[5][5][2]):
test_array[0][0][0] = 0
test_array[0][0][1] = 0
test_array[0][0][2] = 0
.........
test_array[4][4][1] = 0
So this declaration would have 50 lines
I would expect that something like this is possible in case all variables are 0:
test_array = {0} or test_array[]={0}
Making the loop is another option which I will do in the desperation, but only if there is no other (proper) way.
I would expect that it should be 'automatically' initialized as '0' if the variable is global and if is not declared differently.
Could you please provide some more details how to do it in FC7 and how this is passed to the c code and to the PIC18 compiler?
Regards,
Igor