Why have you started a new Thread about what seems to be the same project as in your other Thread which has all the background info?
Pleas click Report to Moderator and ask to have the Threads merged so we can easily see all the info in one place.
but when I add the pressure sensor the sensor and the gauge will need mapped together to match the scales of both the sensor and the gauge. But I just cant figure out the modifications required to the sketch to add the map function
Give us some examples of the input and the corresponding output that you want.
...R