finding maximum and minimum value of a few numbers
Posted: Wed May 18, 2011 1:13 am
Hi,
I have a set of 10 numbers. Can anyone please share the code for finding the minimum and maximum number of that particular set of number?
Thank you.
Ttelmah
Joined: 11 Mar 2010 Posts: 19552
Posted: Wed May 18, 2011 2:56 am
Look at EX_ADMM.c, and ADMM10.c
These take a number of ADC readings, and return the max and minimum. Basic code is the same whatever the number source.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum