I think I just figured out what the problem is!! Placing this hting in fast PWM mode, the TOP it uses is 0xff, *NOT* the value I am placing in OCR0. I think I need to try inverting the values in my table, to read 255 - (sin(x)^2 * 255). I have a sneaking suspiscion this will resolve the problem. Going off to try this now. tom
Message
*AHA*
2007-07-05 by Thomas Keller