pwmTimeout unused?


I see in Make the Robot Move code to check pwmTimeout (though it looks like there should be some sort of loop-check-delay around it?), but I don’t see that code in any of the more complete examples.

Did I miss something? It seems like the delay()s in the main loop() keep it functioning somewhat as expected, in any case.

General Discussion

The pwmTimeout was intended to be used in the demo with the ESP code. (ie: Check pwmTimeout, check if we have received any command packets, if so, move the robot, and loop). In the motor example, it is unused.


Thanks for the clarification.