Joy: How do I calculate the time_between_pulse..??
Magician's link provides some good information on how to do that.