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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

755 Views
lpcware
NXP Employee
NXP Employee
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

Labels (1)
0 Kudos
Reply
1 Reply

616 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cgroen on Fri Jan 08 08:58:22 MST 2016
Forgot to add, using LPCOpen!
0 Kudos
Reply