feat: broadcast uaux (12V aux battery) on CAN 0x210 (SKUDAK-448) #1
@@ -99,4 +99,7 @@ void ChargerCAN::MapMessages(CanMap* can)
|
|||||||
can->AddSend(Param::udc, 0x109, 8, 16, 1);
|
can->AddSend(Param::udc, 0x109, 8, 16, 1);
|
||||||
can->AddSend(Param::idc, 0x109, 24, 16, 1);
|
can->AddSend(Param::idc, 0x109, 24, 16, 1);
|
||||||
can->AddSend(Param::opmode, 0x109, 40, 3, 5); //Set charging and connlock at once
|
can->AddSend(Param::opmode, 0x109, 40, 3, 5); //Set charging and connlock at once
|
||||||
|
|
||||||
|
/***** Auxiliary TX *****/
|
||||||
|
can->AddSend(Param::uaux, 0x210, 0, 8, 10); //12V aux battery: byte 0, gain=10 (0.1V/decivolts, SKUDAK-448)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user