#include<avr/IO.h>
#include<util/delay.h>
#include<pwm.h>
#include<compat/deprecated.h>
#include<multiutil.h>
int main(void)
{
DDRC=0xFF;
DDRB=0x05;
init_pwm(8);
PORTC=0X09;
while(1)
{
for(int i=3;i<200;i=i+20)
{
OCR1B=i;
_delay_ms(100);
}
}
}
the m2 motor of atmega8 board. is not getting supply .. what is changes to be done in program . both jumper r in2-3
