Code to control an pnumatic shifter.