Arduino library for polymorphic, software-defined potentiometer that can be locked on a value when changing modes. When returned to a prior mode, the value of the control will not change until the hardware control is physically moved to the position corresponding to the locked value.