ADC1 can correct my code??
hi , can 1 tell me how can read in adc1 interrupt1 code ?
quote
adc_init();
admux=portc1;
admux=(1<<refs0);
tccr0a=(5<<cs00);
timsk0=(1<<toie0);
adcsra=(1<<aden)|(1<<adsc)|(1<<adps0)|(1<<adie)|(1<<adate);
portb=0x00;
ddrb &= ~(1 << ddrb);
sei();
how calling analogread()?
Arduino Forum > Using Arduino > Programming Questions > ADC1 can correct my code??
arduino
Comments
Post a Comment