Started a function for the barometric pressure sensor.
Code in the previous commit has still not been tested.