<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>check it out.</div><div>Compiles without error.</div><div>Change the code in vehicle_voltampera.c for the VIN to this:</div><div>---------code-------------</div><div><div><div> else if ((CANctrl & 0x07) == 3)           // Acceptance Filter 3 (RXF3) = CAN ID 4E1</div><div>    {</div><div>    // The VIN can be constructed by taking the number "1" and converting the CAN IDs 4E1 and 514 to ASCII.</div><div>    // So with "4E1 4255313032363839" and "514 4731524436453436",</div><div>    // you would end up with 42 55 31 30 32 36 38 39 47 31 52 44 36 45 34 36,</div><div>    // where 42 is ASCII for B, 55 is U, etc.</div><div>    for (k=0;k<8;k++)</div><div>      car_vin[k+9] = can_databuffer[k];</div><div>    car_vin[17] = 0;</div><div>    }</div><div>  else if ((CANctrl & 0x07) == 4)           // Acceptance Filter 4 (RXF4) = CAN ID 514</div><div>    {</div><div>    car_vin[0] = '1';</div><div>    for (k=0;k<8;k++)</div><div>      car_vin[k+1] = can_databuffer[k];</div><div>    //car_vin[16] = 0;</div><div>    }</div></div><div>---------code-------------</div><div>Burn it to the Module. Active since 21:09 CET (UTC+1) 26.12.2012</div><div><br></div><div>And here you can see the result:</div><div><br></div><div></div></div></body></html>