Ive just tried out Darrel's code again now im on this new chip and it compiled first time without me having to edit anythingI used it to monitor the falling edge and i connected 2 diodes up. I did a quick test...
And the bulb lights up at half brightnessCode:ToggleLED1: pause 5 high PORTd.7 pause 1 low PORTd.7WOO! Im just having a read through "Multiple Software PWM". Then ill have to figure out how to add serial to it but it looks like i can use his code for that too


I used it to monitor the falling edge and i connected 2 diodes up. I did a quick test...


Bookmarks