![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
all bms comunicating with nucleo board and balancing
Dependencies: CANnucleo LTC68041 mbed
Fork of BMS_2 by
Diff: main.cpp
- Revision:
- 36:e70020bee11f
- Parent:
- 35:117a807c481a
- Child:
- 37:1776d45825ef
--- a/main.cpp Wed Nov 09 12:10:48 2016 +0000 +++ b/main.cpp Wed Nov 09 14:07:19 2016 +0000 @@ -249,11 +249,9 @@ void check_temperatures() { - float meas; int i=14; - MUXA_3=0; MUXA_2=0; MUXA_1=0; MUXA_0=0; //(escolha do NTC on board) - meas = MUXA_Read.read(); - temp_codes[i]=meas; + MUXA_3=0; MUXA_2=0; MUXA_1=0; MUXA_0=1; //(escolha do NTC on board) + temp_codes[i]= MUXA_Read.read()*3300; temps_left = 14; }