Added hardware debounce option
Added parameter to the instantiation which disables the internal pull-ups for the encoder pins 1 and 2 when hardware debouncing is being used.
Added parameter to the instantiation which disables the internal pull-ups for the encoder pins 1 and 2 when hardware debouncing is being used.