Content originally posted in LPCWare by capiman on Wed Apr 08 02:26:46 MST 2015
You call the first one, it is set.
Then you call the second one, and replaces the first.
Is this really what you want?
Do you have two different PWMs, so you assign one frequency to peripheral 1 and the other to peripheral2?