Sets the state of an I/O pin based on whether a vehicle is in park