PaulS:
int Rate = 10/32/16/2; //16 interrupts=1 channel... 2 channels= 1 step... 32 steps = 1 wavePeriod10/32 = 0
0/16 = 0
0/2 = 0
So, Rate = 0.
oh... it didn't give me any compile errors, so i just assumed that it worked on decimals too (eg. rate=0.5, the interrupt was called twice per millisecond).
ok i'll fix that, try it and see how it works...
thanks