added pressure sensor code

didnt test it yet