Fine tuned pulse length detection in pilight debug