Hello does anyone have a example of code to measure the period of a pulse? Maybe using CCP or something? Thanks.