Dear readers,
Although DT_INTS-14 and Multi_SPWM working great if using seperate, I can't get them running combined ....
I included them together with ReEnterPBP.bas getting errors like
ERROR Line 10: Redefinition of VAR. (Multi_SPWM.pbp)
ERROR Line 13: Redefinition of VAR. (Multi_SPWM.pbp)
ERROR Line 14: Redefinition of VAR. (Multi_SPWM.pbp)
ERROR Line 18: Redefinition of VAR. (Multi_SPWM.pbp)
ERROR Line 20: Redefinition of VAR. (Multi_SPWM.pbp)
(if the order I included them is changed I got about same errors by DT_INTS-14)
I guess it's because same variables (psave, wsave etc) used in both of them but I don't have the ASM experience to solve the problem and would appreciate any advise/tips.
Also tips to use another way to interrupt (INT_INT on RB0) Multi_SPWM are welcome...
Thank you !
Willem
Bookmarks