lpcware

24 channel PWM from a LPC1549 QFP100 (using SCT), a working solution if anyone can use it :)

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by cgroen on Fri Jan 08 04:10:33 MST 2016
I see a number of questions regarding using the SCT for generating PWM. I have a board with 24 PWM outputs (driving servos) and I thought someone else might find use of my code. I have attached two files, PWM.h and PWM,c. Code should be pretty much sef-explanatory.

Anyway, feel free to use this for whatever you see fit :)

Original Attachment has been moved to: PWM.H.zip

Original Attachment has been moved to: PWM.C.zip

Outcomes