I am looking to use the servo connection on the VESC to control a servo (i.e. send a signal out), however, I have two questions:
1. Which pin should I use for sending the signal, as from looking through the code I saw servo and servo and am not sure which one connects to the servo header (preferably what line of C++ do I need to turn it high/low)
2. What sort of timer is available that wouldn't interfere with the motor controls logic too much (I have tried using sleep mili, but milliseconds aren't accurate enough to use for servo controls, and I am afraid of using a micro or nano sleep as I don't think that would give enough time for the context switches to control the motors effectively)
Support for creating custom user applications on the VESC.
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest