diff --git a/micropython/examples/inventor2040w/motors/reactive_encoder.py b/micropython/examples/inventor2040w/motors/reactive_encoder.py index d36a0928..543e9ed8 100644 --- a/micropython/examples/inventor2040w/motors/reactive_encoder.py +++ b/micropython/examples/inventor2040w/motors/reactive_encoder.py @@ -36,7 +36,7 @@ POS_KD = 0.0022 # Position derivative (D) gain # Create a new Inventor2040W and get a motor and encoder from it -board = Inventor2040W(motor_rear_ratio=GEAR_RATIO) +board = Inventor2040W(motor_gear_ratio=GEAR_RATIO) m = board.motors[MOTOR_A] enc = board.encoders[MOTOR_A]