View previous topic :: View next topic |
Author |
Message |
neohimura
Joined: 08 Feb 2011 Posts: 14
|
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: 19546
|
|
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.
Best Wishes |
|
|
neohimura
Joined: 08 Feb 2011 Posts: 14
|
|
Posted: Wed May 18, 2011 9:32 am |
|
|
Thank you Ttelmah. I'll give it a try. |
|
|
|