Hi,
i think i should have made it more clearer.. i only pasted the void loop of my code. this line pwm_count= pwm_count_old[k]; is me generating a new set of pwm values by . I have uploaded the entire code now. It sound be more clear what i am trying to achieve, and what i am asking which is repeating the second for loop 3 times. again i am very new at programming and every help is so greatly appreciated.
Thanks
void_example.ino (1.65 KB)