Northeastern-Electric-Racing / Shepherd-BMS

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

Update Debug Prints to reflect various #ifdefs #48

Closed dyldonahue closed 3 weeks ago

dyldonahue commented 11 months ago

Right now, our debug data in "print_bms_data" in the main.c loop is all or nothing, we either print all data, or none. We want to use macro definitions to individually toggle differern groups of data (voltage, current, temps, etc). Feel free to customize these catgegories howver you see fit. This was sort of implemented in shepherd 1.0 in the "develop/summer" branch. No need to copy this entirely, but that should give you an idea of what to look for.