SolidGeek / VescUart

An Arduino library for interfacing with the VESC over UART
GNU General Public License v3.0
179 stars 91 forks source link

Problem to compile #5

Closed oliverSKP closed 5 years ago

oliverSKP commented 5 years ago

Hello, Firstly, thank you for your library. However I have a problem compiling your example getVescValue for an arduino due, I use your develepment branch, I have a vesc fw3.51 (hw4.12).

I have the following error message:

exit status 1 request for member 'setSerialPort' in '1074661376u', which is of pointer type 'Uart*' (maybe you meant to use '->' ?)

After several hours of research, I cannot find why it does not compile, do you have any solution?

oliverSKP commented 5 years ago

Problem solved, I had to rename the object Uart : VescUart Uart into VescUart Uart2.

aligoodman commented 3 years ago

@oliverSKP , how do you do this sorry, I am having the same issue? Thanks