I had an impression that Arduino Due has 96KB of memory and an array of this size should not be a problem.
Am I doing something wrong?
How can I get that large array to work?
I feel ashamed.
#define ARRAY_SIZE 65536 // maximum for Dueuint8_t array[ ARRAY_SIZE ];
I think the cleanest way to declare an array is using a #define directive:Code: [Select]#define ARRAY_SIZE 65536 // maximum for Dueuint8_t array[ ARRAY_SIZE ];
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16