Mpx4115 pressure sensor solution

hi. sensor works great just thought i'd share.

the math to convert to kPa and psi.

a=analogRead(1);

b = ((a * .0049 / 5) + .095) / .009;//conversion to kilopascal kpa << this is all i wanted to show

regular around sealevel pressure is around 101.xx kpa and 14.xx psi.

"a" and "b" (not good variable names, IMO) have global scope.
Why?

Please used code tags when posting code.

relax, just lil snippet to test/get sensor working. just trying to help someone since there is very little information on this sensor that I can find.

It isn't clear to me why you display the kPa and PSI values twice.
Please go back to you post and put the code inside code tags.
Use the "modify" control.

that was my own testing code, thats probably why it didnt make sense. the only line needed is the conversion so i left that and took everything else out to stop confusion. my fault.