Questions:
1. "...total of 20 readings" : Does it mean a period of 20 seconds?
2. "...Should one data element exceed a limit between two values": Does this mean that you have a lower limit and an upper limit? What are they? constant numbers like X and Y?
If yes, when your readings are in between these two limits, no action is taken. But once one of your readings are out of these two limits,say range, whether lower or higher, then you want to send the values as you described.
3. What if the readings suddenly come back to the acceptable range just after your readings started to be outside the limits? Do you need to stop taking 10 readings?
Here is a simple example:
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1360&d=1170528979"" >
Bookmarks