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: