Hi,
I was trying to create a char array of size 800.
The idea is to sample the ADC at 8kHz, store the data in array and send it over the internet after every 800 data. In another words, in 1 second, i will be sending 10 X 800 bytes of daya data. However, there is an error when I compile it.
Below is the code.
Below is the error
By the way, when i change the array size to 100, the problem disappears.
Any advice on how I can make the array size to be 800..?
Thanks
I was trying to create a char array of size 800.
The idea is to sample the ADC at 8kHz, store the data in array and send it over the internet after every 800 data. In another words, in 1 second, i will be sending 10 X 800 bytes of daya data. However, there is an error when I compile it.
Below is the code.
Code:
char sampleData1 [800];
Below is the error
Code:
MPLINK 4.13, Linker
Copyright (c) 2007 Microchip Technology Inc.
Error - section '.udata_PIC18F2550 - Interrupt 1.o' can not fit the section. Section '.udata_PIC18F2550 - Interrupt 1.o' length=0x000001a6
Errors : 1
Link step failed.
BUILD FAILED: Fri Apr 25 18:28:48 2008
By the way, when i change the array size to 100, the problem disappears.
Any advice on how I can make the array size to be 800..?
Thanks