add codes for pressure sensor but not tested it