hey guys im designing an ecg system for my project using a PIC18F4620, basically i need to sample in 100 data points from the analogue input and store them in an array. I will then manipulate this array to get my results.
Now I can use the ADC but the problem I have now is storing 100 datapoints (of type float because they have to be accurate to 2 decimal places). The MPLAB compiler would not let me and gives an error 1300.
100 datapoints would take 400 bytes of memory, the RAM has 3800 bytes so I do not know why I cannot do this.
Any suggestions guys or tips would be much appriciated.
Now I can use the ADC but the problem I have now is storing 100 datapoints (of type float because they have to be accurate to 2 decimal places). The MPLAB compiler would not let me and gives an error 1300.
100 datapoints would take 400 bytes of memory, the RAM has 3800 bytes so I do not know why I cannot do this.
Any suggestions guys or tips would be much appriciated.