successful output of position on BBB when using encoder mounted rotary shaft