Sample code to generate a fast pwm wave with an atmega164 MCU.