ATmega16 Problem with ADC code?
I have got an Atmega16, only that, and I wanted to program it so I made the simplest parallel programmer for it. Now I want to read analog input on it and present it on a 7seg display. Ive written the program for the display but I just cant understand how to get the values from ADC and how to connect it. Taking millions of tutorials have fried my brain a bit more. Please help, write the code with comments so that I know what is actually happening. I use Programmer's Notepad with AVRdude. Thats it. ok i'l post my code later