Let rpi encoder be instantiated with different bit durations