#define F_CPU 16000000//16Mhz #define MS_DELAY 1000 #include #include int main(void) { DDRB = 0xFF;//Port B set as output //DDRB |= (1 <<3);//Port B set as output OCR0A= 0xBF;//75 percent of 255=duty cycle TCCR0A = 0x83;//non-inverting pwm TCCR0B = 0x03;//prescaler = 64 //output of pwm is at pin 13(OC0) while(1); }