1

I am trying to generate 6 simultaneous PWMS to run an AC motor. I have gone through the following link How to create multiple GPIO pwm waveforms that are in sync using pigpio for trapezoidal motor control?

Here I can see that a module named wavePWM have been imported. Can anyone please tell me how to install this module. Thanks in Advance.

2

It would appear to be the module provided in the Wave PWM 2 example that joan links to in the other answer on that question. The example is a zip file containing a Python file called wavePWM.py. I had a brief look and the class provided is definitely the one referred to in the code linked in the other question.

Simply put that in the same directory as your project, and you should be able to import it as expected. Alternatively, you can put the module anywhere in your PYTHONPATH if you'd prefer; this will work just as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.