Encoder Wiring

Hi everyone,
My team is using a rev hex bore encoder for our shooter this year. We only have one DIO port left on the Rio though. Is it possible to only connect the encoder to one DIO port since we only need to run velocity control? Thanks

yes. You can use one of the encoder channels as a tachometer.

2 Likes

Thanks :+1:

One more quick question, how would I go about coding that? Just create an encoder using the same DIO port for both arguments? We use java

Use a Counter instead of an Encoder.

3 Likes