has anybody experience with an Arduino Mega + the runningpenguin library for Uart communication for the Vesc ?
I always get „Failed to get data from VESC1!“ when reading values from the Vesc.
Setup: • Arduino Mega • 2x Vesc with FW 2.18 • Arduino IDE 1.8.1
Uart is set in the app tab and also the baudrate is set to 256 800 in bldc tool, as written in the description of the library. The strange thing is, that the Vesc1.UartSetCurrent(); function works, so the communication parameter must be correct. Furthermore I receive data from the Vesc when using RollingGeckos Library (which is the original library where the penguin lib is forked from), but I need independent control of 2 vesc via uart for a project…
I would really appreciate it, if someone could give me a hint or have a quick look at the libraries code… I’m not a software pro Thank you!