Has base BMU code but sends dummy temperature and voltage readings to test CAN
Dependencies: CUER_CAN DS1820 LTC2943 LTC6804 mbed
Fork of BMS_BMUCore_Max by
Diff: main.cpp
- Revision:
- 7:d00f4433cea9
- Parent:
- 6:b567fcb604aa
- Child:
- 9:82ba050a7e13
--- a/main.cpp Sat Jan 28 14:41:19 2017 +0000 +++ b/main.cpp Sat Feb 11 14:57:22 2017 +0000 @@ -6,6 +6,8 @@ #include "EEPROM_I2C.h" #include "Temperature.h" #include "LTC2943_Read.h" +#include "State_Of_Charge.h" +#include "SPI_I2C_Parser.h" using namespace CAN_IDs; @@ -216,6 +218,9 @@ //TODO Use LTC6804_acquireVoltage to fill this array, and then properly format //it to be sent over CAN + LTC6804_acquireVoltage(cellvoltages); + + // Here collect all measured data from the sensors /* * TODO Cell voltages