I've got two more questions. Your formula shows decimal values. Is that strictly for informational purposes or will Trilogi convert the values to none decimal values in compilation? In other words can I use decimal values when programming? Next question, does PULSEPERIOD count from leading edge to leading edge, ie the instant the sensor turns on to the instant the sensor turns on?
Thanks,
Ken