I am using a 18F14K50 with Instant Interrupts to refresh USB service. I want to use the slow speed PWM code Darrel Taylor has posted way back when.
I am using PBP 2.6 MPLAB 8.33.
The program excluding Slow Speed PWM compiles and works fine.
When I add (Include "Multi_SPWM.pbp" ) I get these errors
ERROR Line 23: Redefinition of VAR. (DT_INTS-18.bas)
ERROR Line 24: Redefinition of VAR. (DT_INTS-18.bas)
ERROR Line 25: Redefinition of VAR. (DT_INTS-18.bas)
If I comment the wsave, ssave and bsave in Multi_SPWM.pbp I get these errors
Duplicate macro name (int_return)
Unmatched ENDM
I assume it is a conflict between the multi slow speed PWM and the instant interrupt codes. I do not know if it is possible to run both at the same time.
Thanks
Dave
Bookmarks