Through Bore Encoder Help

Hello,

Me and my team are trying to program the Through Bore Encoder provided by REV. How do we program it after plugging it into the Spark Flex Port using the Data Port Breakout Cable.

Thank You.

Howdy! What language are you using? What are you trying to control with it? Do you have a link to your github?

Id start looking at the spark flex dataport page: Data Port - REV ION Brushless

and the spark flex javadocs: SparkFlexExternalEncoder (FRC-REVLib API)

To answer your question

  1. Java
  2. We are doing a PID position control
  3. 2024-Crescendo/src/main/java/frc/robot/subsystems/superstructure/arm/ArmPositionPID.java at main · ButlerTechRobotics/2024-Crescendo · GitHub (This should be the code)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.