In XML i have all like that. Target id is 310 (odometer).
After making this sketch, text gauge shows 1000000 when i turn ignition on, so something goes wrong.
Also i tried to turn around all like buf7+buf6+buf5 and in can-frame sending code i tried to change all with same princible, what ever i do it print 0, 127 or 156, right value should be about 489000.
I can do some tests, but if you believe the problem is the 3 byte value, you can try to send the data in 4 bytes instead, just set most significant byte to 0.
New problem with fuel consumption and trip meter values.
I have fuel consumption as a double variable, trip meter is uint16_t.
Tried to send it in one byte (buf[]), it showed ok in RealDash, but without decimal points.
After updating RealDash to newest version, trip meter kilometers began to go back and forth, for example if there were about 2 kilometers, it blinks from 1 to 2 or 2 to 3.
Then i tried in same way as above in last post, but of course it says “invalid operands of types ‘double’ and ‘int’ to binary 'operator& '”
It is correct to send trip meter value in two bytes and fuel consumption in 4 bytes and how i get decimal points to fuel consumption value?