Quote Originally Posted by MaxiBoost View Post
@Skimask ,
yess its work ,thank your interesting .
Its not bad ,so close result with duty cycle meter.
I can use it on my car .

Some problem I have ,

1-why I see on the lcd "35" %100 duty cycle ?

2-People use RB0 input "schmit trigger" on duty cycle meter .
How can use schmit trigger input my circuit ?

1 - 100% (and 0%) duty cycle is a special case...100% pulshi and 0% pulslo. Put in a test to see if either pulshi or pulslo is 0 and handle it as required.

2 - why mess with it if it works?

Quite frankly, I'm surprise it worked that well for a first try, and that code was off the top of my head.

And your pictures were practically useless. Either backlight the LCD or turn on some lights!