improve stability of pulse lengths; trigger setup routine even after brown-out because if vcc is plugged in, a brown-out is detected and setup is never entered; calculate a separate scaling factor for ahead and astern