Dip switch code cleaned up. PID now uses dip switch