Wäre OCR1A nicht 0x270F (9999) anstatt 10000?

OCRnX=(Clk/(2*Prescaler*f))-1

Wobei f=800Hz

Gruß
Stefan