Quote Originally Posted by masosi View Post
just a quick glance -

Code:
SOFTPWM:
IF Mode > 0 then 
    goto SOFTPWMAUTO
    ELSE
    GOTO SOFTPWMMAN
    ENDIF

@ INT_RETURN
RETURN
shouldn't that be gosub softpwm... because otherwise it will not come back and process the @ INT_RETURN?

just a guess
Except, we are not supposed to gosub outside of our interrupt handlers.
See: http://www.picbasic.co.uk/forum/show...3788#post83788

Does it work for you, or is it acting funny?