From cb28c50aca4af4b85fae3516e1dfb8c1cb229411 Mon Sep 17 00:00:00 2001 From: Antoine Pirrone Date: Mon, 24 Mar 2025 17:37:46 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c92d2b3..299330b 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,8 @@ python3 scripts/test_xbox_controller.py ## Speaker wiring and configuration Follow this tutorial +> For now, don't activate `/dev/zero` when they ask + https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp?view=all From edeebf473241fb40a2c34d6c9d81d67a3232f585 Mon Sep 17 00:00:00 2001 From: James Clancey Date: Fri, 4 Apr 2025 12:27:54 -0800 Subject: [PATCH 2/2] Fix the configure script. --- scripts/configure_motor.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/configure_motor.py b/scripts/configure_motor.py index 99cfa56..7d35ee2 100644 --- a/scripts/configure_motor.py +++ b/scripts/configure_motor.py @@ -7,13 +7,12 @@ DEFAULT_ID = 1 # A brand new motor should have id 1 parser = argparse.ArgumentParser() parser.add_argument( "--port", - help="The port the motor is connected to. Default is /dev/ttyACM0", + help="The port the motor is connected to. Default is /dev/ttyACM0. Use `ls /dev/tty* | grep usb` to find the port.", default="/dev/ttyACM0", ) -parser.add_argument("--new_id", help="The id to set to the motor.", type=str, required=True) +parser.add_argument("--id", help="The id to set to the motor.", type=str, required=True) args = parser.parse_args() - -io = FeetechSTS3215IO("/dev/ttyACM0") +io = FeetechSTS3215IO(args.port) current_id = DEFAULT_ID