value "int" PID_DISTANCE

Inquiry and support for Freematics products
Post Reply
sergeyksv45
Posts: 1
Joined: Wed Feb 24, 2016 4:49 pm

value "int" PID_DISTANCE

Post by sergeyksv45 »

problem output variable value in lcd "int" PID_DISTANCE , value "int" = -32 768 to 32 767 (-2 ^ 15 to 2 ^ 15-1)
the car traveled 35,000 km, the conclusion is incorrect distance values "int" on the display. Еhe display value of the distance -30535.
The correct value if the variable will be "long" from -2,147,483,648 to 2,147,483,647.
Post Reply