From ff2bb4f02687d449cccb2c511000ac974e02ad83 Mon Sep 17 00:00:00 2001 From: helgibbons <50950368+helgibbons@users.noreply.github.com> Date: Wed, 9 Nov 2022 10:20:53 +0000 Subject: [PATCH] fix typo in inventor example --- micropython/examples/inventor2040w/motors/reactive_encoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]