Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re:AW: [AVR-Chat] how to use auto trigger mode of adc

2008-03-07 by SUKHDEEP s

i have written the code

ISR(ADC_vect)
{
...........
}

main()
{
  SREG=0X80;
  TCCR0=(1<<CS00);
  SFIOR=(1<<ADTS2);
  ADCSRA=(1<<ADEN)|(1<<ADATE)|(1<<ADIE);
  while(1);
}

 why it is not able to trigger the conversion start at
timer0 overflow. kindly help me.


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.