Removed switchsol and replaced with direct digitalWrites
Packaged pressure checks into pressureIsHigh() for brevity