I am new to Mbed and I have a limited amount of programming experience. I am wanting to create multiple PWM outputs. At present I am using a look up table and a ticker function to generate a PWM signal but I am not quite sure how to extend this to generate multiple PWM outputs.
It makes it quite easy to support up to 6 PWM outputs. Did you need more channels than 6?
Tim
Did you check out the PWM library here: http://mbed.org/handbook/PwmOut
It makes it quite easy to support up to 6 PWM outputs. Did you need more channels than 6?
Tim
I have resolved my issue and I now have 4 Pwm outputs running, which is sufficient for my application. It was much easier than I originally thought.
Do you know of an alternative way to create a phase shift between the different channels instead of using separate LUT's or is this the quickest and easiest way?
My concern is that it may take longer to read from memory and the update rate may be reduced?
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.
Hi,
I am new to Mbed and I have a limited amount of programming experience. I am wanting to create multiple PWM outputs. At present I am using a look up table and a ticker function to generate a PWM signal but I am not quite sure how to extend this to generate multiple PWM outputs.
Does anybody have any ideas?
Thanks
William