This project is an implementation of this code ported to Arduino. I followed Benjamin Vedder's tutorial on using UART with the VESC. I added minor changes only where necessary. This code is intended to run on an Arduino Due.
nguyendinhthi/VESC_UART_Arduino
An implementation for Arduino of Benjamin Vedder's UART interface for the VESC
C++