In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ems1965 wrote: Hypothetically... I have 8 pressure sensor they have a pulse width Output. I have these hooked up to Port B of an SX 28. I can poll each pin in sequence and retrieve the pulse width. No problem with that. What I what to do is poll each pressure sensor based on a specific pressure. In other words lets say that critical pressure is 10 and all of the sensor are reading 5 except one of them which happends to read 6. The system would prioritize that sensor and read it more frequently and read the other 7 sensors less frequently. There is only 64 Polls and depending on the pressure reading.. Some sensor might only get polled 1 time out of the 64. Each sensor gets polled at least 1 time in 64. I hope this makes sense. Anyone have Ideas on how to make this happen? Regards, Eric ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=171859 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)