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:
- 6:b567fcb604aa
- Parent:
- 5:793afeef45dc
- Child:
- 7:d00f4433cea9
diff -r 793afeef45dc -r b567fcb604aa main.cpp --- a/main.cpp Mon Jan 16 14:39:30 2017 +0000 +++ b/main.cpp Sat Jan 28 14:41:19 2017 +0000 @@ -212,6 +212,10 @@ void take_measurements(BMU_data &measurements) { + uint16_t cellvoltages[NO_CMUS][12]; + //TODO Use LTC6804_acquireVoltage to fill this array, and then properly format + //it to be sent over CAN + // Here collect all measured data from the sensors /* * TODO Cell voltages