[an error occurred while processing this directive]
|
Не помню какие тэги надо для кода -> я обычно так делаю:
#include "iom32.h"
...
unsigned int ADC_READ(unsigned char xChannel)
{
ADMUX=xChannel|REFS_CONST;
ADCSRA&(~(1< ADCSRA|=(1< while(!(ADCSRA&(1< __watchdog_reset();
return ADC;
}