- Wed Sep 25, 2019 9:56 am
#207988
I am trying to use a large array with the Artemis Arduino Core and when I define my array to have more than 255 elements (e.g a 256 element array of int), the code freezes up when it tries to use the array.
With 255 elements or less the code runs fine.
My guess is that the array structure is only allowing an 8 bit index for some reason. If so, has anyone found a way around the 255 array index limit?
Is there something else I may be missing?
Thanks,
jbernard
With 255 elements or less the code runs fine.
My guess is that the array structure is only allowing an 8 bit index for some reason. If so, has anyone found a way around the 255 array index limit?
Is there something else I may be missing?
Thanks,
jbernard