1khz Sine Wave Generator

There is a great example, that I found more clear, at Arduino sketch for high frequency precision sine wave tone sound synthesis | Adrian Freed