does this help see post #2
https://www.picbasic.co.uk/forum/sho...red-HPWM-setup