Search found 3 matches
- Tue Oct 03, 2017 12:08 pm
- Forum: Freematics Products
- Topic: OBD-II Precision
- Replies: 4
- Views: 8018
Re: OBD-II Precision
Perfect, that was along the lines of what I was thinking. Thanks Stanley!
- Fri Sep 29, 2017 12:42 pm
- Forum: Freematics Products
- Topic: OBD-II Precision
- Replies: 4
- Views: 8018
Re: OBD-II Precision
Thanks Stanley. I'm trying to think what would be an accurate way to measure this. I think I understand what you are saying.
So use the PID_SPEED function and the Arduino function millis(). Find the difference between each millis() read and multiply that by PID_SPEED. Does that sound right?
Thanks.
So use the PID_SPEED function and the Arduino function millis(). Find the difference between each millis() read and multiply that by PID_SPEED. Does that sound right?
Thanks.
- Mon Sep 25, 2017 12:13 am
- Forum: Freematics Products
- Topic: OBD-II Precision
- Replies: 4
- Views: 8018
OBD-II Precision
Hello,
I am trying to get higher precision on some of the PIDs. For example, when reading PID_DISTANCE, is it possible to get a reading with decimal places or is it strictly integers?
I've noticed that the obd.read() command only accepts int values, and does not allow floats, doubles, or bytes ...
I am trying to get higher precision on some of the PIDs. For example, when reading PID_DISTANCE, is it possible to get a reading with decimal places or is it strictly integers?
I've noticed that the obd.read() command only accepts int values, and does not allow floats, doubles, or bytes ...