all bms comunicating with nucleo board and balancing
Fork of Can_sniffer_BMS_GER by
Diff: main.cpp
- Revision:
- 42:db111f4ddfff
- Parent:
- 41:dcd47ac5ffdf
- Child:
- 43:11108d5f6ee1
--- a/main.cpp Tue Nov 29 09:05:06 2016 +0000 +++ b/main.cpp Tue Nov 29 11:20:03 2016 +0000 @@ -304,9 +304,11 @@ //printf("temp: %d \r\n", rxMsg.data[1]); }else if(rxMsg.id==8){ + data.bytes[0] = rxMsg.data[0]; controller_key_switch=0; led=controller_key_switch; - printf("alarm! contactors disconnected\r\n"); + + printf("alarm_code: %c ------------------ contactors disconnected\r\n",data.bytes[0]); }