Wow, with just one command you can save 36 bytes :)
Thanks,
Andi
----- Original Message -----
From: "Joerg Wunsch" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, February 27, 2008 12:13 PM
Subject: Re: [avr-gcc-list] ADC problem
Paulo Marques <[EMAIL PROTECTED]> 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. ;-)
_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list