CSS:
#define F_CPU 16000000UL
#include <avr/io.h>
#include <util/delay.h>
//pwm sinyali için fonksiyonların oluşturulması
int pwm = 0;
void InitPWM()
{
TCCR0 |= 1 << WGM00 | 1 << WGM01 | 1 << CS00 | 1 << COM01;
DDRB|= 1 << PIND7;
}
void SetPMOutput(int duty)
{
OCR0 = duty;
}
void...