II have a lidar sensor and its output is PWM . I want to give that pwm output as a input to lpc 1758 and want to read the output of that . Currently i am using lpc 1758. I don't know about which and how I use peripheral. i want to use 6 pwm inputs at a time. please give me any suggestion or any sample code?