In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Matthias09 wrote: Ok, I'll do this then. I use 2 parallax PING Sensors on the hardware side. nothing modified or special. What information are you looking for? I will try the idea from Bean then (take a couple of readings, remove highest and lowest and average the rest). However, do you have any idea how I quickly can determine the highest and lowest value in e.g. 5 samples, all stored in an array? Thank you!! Matthias ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=175860#m385736 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)