Quote:
I was looking through the picbasic manual, and came across pause comands thate were used in one example. Presumably I could use this function? Although there would be an error due to the time taken to actually process the looping commands etc, this error should be constant whatever my desired frequency, giving me a constant offsett...?
well, what i suggest is to have an short fixed delay loop and to call here as long as you need it to acheive your pseudo PWM tasks and avoid latency to get changes from InputPins.