(Driver controller) to drive the 2 motor using XOD

haw to measure the length of a single pulse?
when I’m using (pules in nod ) Arduino booging down immediately please advice for another input nod

How are you triggering pulse-in-UPD? If you set it to LOOP, it will check as often as possible. Since you are measuring very short pulses, that could mean a LOT of checks. If you are controlling an RC car, you probably don’t need to check that often. Connect a clock to pulse-in-UPD that only ticks once per second. If that improves response, you have found the problem. If response to changes in RC control is too slow, try having clock tick every half second.

thanks a lot for your help

i I changed the pulse-in-UPD to 1& 0.5 and still booging down
using arduino mega & wemos D1R2
regards

You’re welcome! I should have explained it a little better, or really should have just programmed it in, but you got it! Nice work!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.