I'm reading voltage values from ADC. I'm able to do that. Then i want to compare ADC values to a constant and I'm getting output 0 or 1. Using these values i want to trip zone my EPWM in simulink platform.
Also with the issue mentioned below, i also want to take average of all ADC samples every 0.5sec so that the output is accurate.