Hi
I'm using a g-force sensor with a 0-5v output.
-3g = 1v
0g = 2.5v
+3g = 4v
So I did 2* a -5 to get it to show properly..
I have connected it to adc2 and displayed it as a boost pressure..
I did (x10) put in 20*a - 50 to get a more accurate reading, faking a extra decimal..
But how do I add decimals instead. I want 2 decimals..
As in the picture -9.6 bar is 0.96G
And is there a easy way to change text from "BAR" to "G-force"?