AnsweredAssumed Answered

FRDM-K22F AtoD Value passed to PWM

Question asked by brian cavanagh on Apr 1, 2018
Latest reply on Apr 2, 2018 by Alice_Yang

Hi All,

 

I wrote a program that will take an AtoD measurement that I would like to pass to the PWM to set the duty cycle.

Can someone look at my code (very small) and let me know where I'm going wrong?  Note:  I removed my LED code so it's not so large to read.

 

Thanks,

Brian

 

Outcomes