diff --git a/source/docs/software/tutorials/encoders.rst b/source/docs/software/tutorials/encoders.rst index 20b4dce5..a34a6d82 100644 --- a/source/docs/software/tutorials/encoders.rst +++ b/source/docs/software/tutorials/encoders.rst @@ -55,7 +55,7 @@ While convenient if one uses the built-in motor encoder, this can easily become .. code-block:: - DcMotor motor = hardwareMap.dcmotor.get("Arm Motor"); + DcMotor motor = hardwareMap.dcMotor.get("Arm Motor"); double position = motor.getCurrentPosition(); .. tab-item:: Blocks