Darrel's Multiple Software PWM
I just came across Darrel Taylor's multiple software PWM at http://www.darreltaylor.com/DT_INTS-14/SPWM.html
EXCELLENT piece of coding!!
However, I cannot find the file "DT_INTS-14.bas".
His site allows one to download SPWM_Int.bas and Test_SPWM.pbp
These files call the include file DT_INTS-14.bas which I can find nowhere?
Thus I cannot compile and test the example Test_SPWM.pbp.
Please help! Thank you!
Passion1
Re: Darrel's Multiple Software PWM
This program allows you to have MANY Pulse Width Modulation's being generated as an interrupt driven Background process with PicBasic Pro. It's a complete Re-Write of the original Multi-SPWM with new features added. So be sure to read this article before trying to use it.
Features:
Multiple Slow Speed PWM outputs simultaneously on 1 chip, limited only by the processor speed, and SPWM frequency/resolution configuration.
Works on just about any chip. 18F or 14-bit core's.
Each SPWM output can be assigned to ANY General I/O pin on any Port
PWM has a maximum resolution of 8-bit (0-255) 0=Always Low, 255=Always High, but lower resolutions are also available.
It's an Include file, for easy implementation in your program.
Some Error checking is built in, and supplies Messages detailing the problems. Although it won't find everything you can mess up.
Re: Darrel's Multiple Software PWM
Sorry, this program will only produce PWM with all channels having the same phase. I'm sure it can be done, but just not with this program.
Re: Darrel's Multiple Software PWM