From 73dc758564148dd8408d094222b5c6b1da566461 Mon Sep 17 00:00:00 2001 From: Jake Date: Mon, 4 Aug 2025 14:17:46 +0800 Subject: [PATCH] motor module is now consistently called 'motor.py' --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index f187920..27e8d62 100644 --- a/index.html +++ b/index.html @@ -278,7 +278,7 @@ for i in range(-100, 100):

Finally, to make our final code modular, cleaner, and easier to understand we can offload all out motor code into a new module.


-

We make a second file called motors.py which we'll import and call from our main +

We make a second file called motor.py which we'll import and call from our main code.py file.

Now all we need to do from the main code is:

@@ -323,7 +323,7 @@ for i in range(-100, 100):
 
-# motors.py
+# motor.py
 import pwmio
 
 class Motor: