i am new to AVR programing.can anyone tell me how to do the programing,to sample a full wave rectified sine wave of 0-5v and 50 hz into ADC of atmega32.i need some kind of code example,i understood the theory but i can't do the coding in AVR studio 6.thanks in advance.