AH! I see it now!... No matter how I slice it, the counts can only be different by integer multiples of three ticks. Interesting.. I'll probably have to rework this routine. As is, it runs every 50mS.. I think I'll have to run it every mS, and only take one sample of each waveform, and then subtract those two large numbers, getting a larger delta, then rotate right once to make the quantization disappear.
Message
Re: [AVR-Chat] Optimization levels in WinAVR, wierd problem.
2009-05-01 by David VanHorn