Darrel Taylor's SPWM code usage


Results 1 to 2 of 2

Threaded View

  1. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Homerclese View Post
    What I don't see in the demo is an example of the (magic) seemingly simultaneous interrupt scheme put to use as in the "Instant Interrupts" code. I would like to run three PWM outputs independently controlled
    Here is an example of using his Instant Interrupt code to perform SPWM. I am cheating here a bit, using the R/C receiver as my 20ms timer. But it gives you an idea how to pulse your pins for a set amount of time. It uses one interrupt timer to SPWM out to 4 pins. http://www.scalerobotics.com/stamps/84-projects/pwm/71-pwm-passthrough.html

    Edit: Mybad, I forgot about Mibam. If you are interested in PWM for lighting/led control, you can use Mibam, basically a SPWM for smooth lighting effects on multiple pins. See: http://www.picbasic.co.uk/forum/showthread.php?t=10564
    Last edited by ScaleRobotics; - 11th October 2011 at 05:06.

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts