You are here

Requesting VESC fault codes via UART

2 posts / 0 new
Last post
spork
spork's picture
Offline
Last seen: 2 years 3 months ago
Joined: 2018-11-26 06:55
Posts: 29
Requesting VESC fault codes via UART

I'm currently using the UART to continuously show me my speed, battery remaining, amps drawn...  I do this via bluetooth and display it on an LCD display on my remote.  I also log the values that are returned from a COMM_GET_VALUES command.  My question is this... How can I capture fault codes?  I see there's an "mc_fault_code fault_code;" in the mc_values struct.  Does that mean it will return the most recent fault code?  What if there are multiple faults?  Do I have to clear a fault in order to see the next one in the list?

Thanks very much for any tips.

f.damien12
Offline
Last seen: 2 weeks 6 days ago
VESC Free
Joined: 2021-09-17 17:19
Posts: 5

Hello

I have exactly the same question.

Can someone explain ?

Thanks