Does anyone have any code examples of how I can use a LPC2138 to detect the width of the positive pulse in a PWM signal. I know I can use the timer circuit and detect the rising and falling edges do some math and determine the width. I am very new to micro controllers and some code examples or guidance would be greatly appreciated. Thanks J Parham
Message
PWM width detection
2006-02-18 by hdxlh74