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!![]()
Bookmarks