avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] ADC problem


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] ADC problem
Date: Wed, 27 Feb 2008 06:13:23 +0100 (MET)

Paulo Marques <address@hidden> wrote:

> SIGNAL(SIG_ADC)
> {
>    // Get Data ADC
>    ADC_Data = ADCL;
>    ADC_Data |= ADCH << 8;
> }

ISR(ADC_vect) {
        ADC_Data = ADCW;
}

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]