Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE
Tool/software: TI C/C++ Compiler
Good day,
Using the C2000Ware example , "epwm_updown_aq_cpu01.c" , is it possible to use a potentiometer as an ADC input in order to control the EPWM Duty cycle of this example ?
I believe that I need to make some change on line 430 below:
CMPA.bit.CMPA++ ---->>>> AdcaResultRegs.ADCRESULT2
Is it correct ?
Best regards