regulator PID

Ahoj.
Nevím, normálně jsem si stáhnul PID regulátor, který je uvedený v Appnote AVR221 a normálně funguje. Běhá na AtMega8.