This code is used for the eCap module lab. I use my function generator signal (having specific freq and the duty cycle) to capture at port GPIO24. The freq is measured at the CCS watch window through variables PWM_Duty and PWM_Period. I need to pass the same signal that I measured (same freq & duty cycle) to any of the GPIO port A (Suppose GPIO06). It means that whatever digital signal you capture, will be passed to any pin /GPIO port A (Suppose GPIO06) that I assign. In this way, I can measure this signal at GPIO06 through an oscilloscope to verify the signal freq and duty cycle respectively that I see on the watch window. I tried this by adding two lines in the code (line 121 and line 122) but I guess it is not working. Community members, please suggest in the code so that I could perform the desired task.
Thanks










