figured it out, the file omegaPwm.py mentioned in that tutorial should've been called motors.py, everything works now!
R
Ryan Closs
@Ryan Closs
0
Reputation
2
Posts
633
Profile views
0
Followers
0
Following
Best posts made by Ryan Closs
This user hasn't posted anything yet.
Latest posts made by Ryan Closs
-
RE: PWM Expansion Tutorials "ImportError: No module named motors"
-
PWM Expansion Tutorials "ImportError: No module named motors"
I've been working through the Omega2 tutorials and just got to the PWM ones. When trying to compile the code for the Dimming LEDs I get the following error: ImportError: No module named motors
It's the line: from motors import OmegaPwm
Is there another package I need to install?
The closest thing I found was the python module "motor" which I installed with pip, but that doesn't seem to help even if I change it to "from motor import OmegaPwm"