Northeastern-Electric-Racing / Shepherd-BMS

Our from-scratch Battery Management Application
4 stars 0 forks source link

Set up faults in eeprom #69

Closed dyldonahue closed 2 months ago

dyldonahue commented 10 months ago

we want to store the previous 5 faults in eeprom. We have an interface that already handles this storing - but we have not implemented it yet. To our fault calculation, add the storing of a fault using this interface.

This ticket should utilize the fault logging API to achieve this behavior, but ensure that we dont write the same instance of a fault event more then once, ie, if a fault happens, dont let it be rewritten every loop.

Possible add on to this ticket if desired: test this feature on board while hard-coding various faults, and see if they get written as intended

dyldonahue commented 2 months ago

going to close this because with telemetry data this is no longer really useful.