avr_8

 

ton_100 เปิดพอร์ตซี PORTC=0x00;
ton_1_1 เปิดพอร์ตซี PORTC=(0<<PC0);
ton_1_2 เปิดพอร์ตซี sbi(PORTC,0);
ton_201 for(i=0;i<=255;i++)
ton_202 while(i<255)
ton_203 USART_Init(16);
ton_301 c = getchar();
ton_302 printf("i = %d%d\r\n",i,i);
ton_303 c = getchar();
ton_304 if(c == '1')
ton_305 switch(c)
ton_401 PORTC=0xFF;
ton_402 Interrupt INT0
ton_403 TIMER
ton_404 PWM1
ton_501 W1
ton_601 c = getchar(); + W1
ton_602 if ((PIND&(1<<PIND6))==0)
ton_701 ADC_read();
ton_702 ADC lopartfilter
ton_703 ADC in TIMER0 lopartfilter first order
ton_704 ADC in TIMER0 lopartfilter second order
ton_901 c = test_return(i);