Quote:
|
Originally Posted by Astronouth7303
No Idea, I would assume that either it's tenths of a volt (0 to 120) or it's scaled so that 12v = 255 (254? I'm never sure).
|
It's not tenths of a volt as I'm recieving values too high for that, and why would they waste resolution? Doesn't make sense to use 7 bits in a byte, and leave the other standing alone. Also, look at the old PBASIC code, they have formulas in there which I tried to use, and they went to way above 120, and IFI probably used something similar to those formulas this year, I just can't find it.
Also, it can't be 12 volts is the same as 254, as that would create huge problems when teams charge their batteries up to 13.6 volts, as my team does every year.
Please, if you have no idea as to what I'm asking, don't answer with stupid assumptions that anyone who's dealt with the controllers for more than 5 seconds can shoot down. It wastes time and space, and the community doesn't benefit. I don't go and post answers in the CAD forums, cause I have no idea about CAD, and me posting anything there doesn't help anyone.
Anyways, back to the question at hand, does anyone know how IFI set up the battery voltage bytes on the dashboard stream, or have come up with their own way to correctly display voltage?