Im using a Mega 48 to control some mechatronics bits and bobs, and I'd like to store results from an AtoD Conversion, say 10 or 20 results, then retreive them and do some maths with them, for example find the average. The storage can be in the on board RAM I guess.
I've never used memory for this type of application before and I'm not sure how to go about it, if there is for example a conventional way in C.
I've used some excellant tutorials on other subjects butc an't find one on this.
I'd realy appreciate any suggestions or guidance of where to look or how to do it.