PDA

View Full Version : Does PULSIN round up or down?



Roboron
02-22-2010, 10:00 PM
PULSIN for BS2 measures in 2usec intervals.· If I have a pulse that is 2.5usec will it be regarded by BS2·as a 2usec or 4usec pulse?

Thanks

Tracy Allen
02-23-2010, 12:35 AM
I believe it rounds up. As soon as it detects a leading edge, that counts as one. After 2 us, it becomes 2. The only way it returns zero is if the pulse is longer than 0.131070 second, or if a leading edge is not detected within 0.131072 second. That is the "error" marker.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com (http://www.emesystems.com)

Roboron
02-24-2010, 01:00 AM
Thank you very much.