Hay Darrel,
In the DT_INTS-14 (SPWM_INT - Multiple Software PWM) It says:
Code:
DutyVars VAR BYTE[3] ; DutyCycle Variables
DutyVar1 VAR DutyVars[0] ; group them in an array for easy access
DutyVar2 VAR DutyVars[1] ; with FOR loops etc.
DutyVar3 VAR DutyVars[2]
I do not know how to use arrays or how it can benefit in loops. The way I am doing it now is very cumbersome and code intensive. I have searched the forum and RTFM but I can't get my head around how this concept. Can anyone point me in the correct direction.
Best Regards,
Kurt A. Kroh
KrohTech
“Goodbye and thanks for all the fish”
Bookmarks