I need to read 4000 length of array. But when I run, I can read just one value of array. When I declare 1600 size, I can read but when the length of the array increases , just one value reading.
Since Arduino's memory was not enough, I used Texas microprocessor with Arduino codes in Energia.
The microprocessor have 256KB Flash, 32 KB SRam.
Arduino code's memory usage is as follows:
Your work has used the program's storage space of 11964 bytes (4%). Maximum 262144 bytes.Global variables use up to 1296 bytes (3%) of memory. 31472 bytes of space remain for local variables. Up to 32768 bytes can be used.
DSLite version 7.2.0.2096
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: CORTEX_M4_0
Executing Startup Scripts: CORTEX_M4_0
GEL: CORTEX_M4_0: GEL Output:
Yes I used for loop to see all the frequencies. And I used two dimensional array. The first index of array is frequencies, second index is voltage values corresponding to frequencies.
heysen:
I need to read 4000 length of array. But when I run, I can read just one value of array. When I declare 1600 size, I can read but when the length of the array increases , just one value reading.
Sounds like there is a mistake in your programming. If you show the program, perhaps we can point out the mistake.