Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
# include<avr/io.h>int main(void){ DDRD=0x01; TCCR1B|=((1<<CS10)|(1<<CS11)); while(1) { if(TCNT1>=3000) { PORTD^=(1<<2); TCNT1=0; } } return(1);}