I wanted my micro-controller to work independently (without arduino, only atmega168) on some project (programmed by arduino of course)
I did the set up as in the link…
Everything works, i tested with an led, the digitalWrite/Read and analogWrite functions are working just as they should. But the analogRead is not workin.
The ADC is not returning any values…wat could be wrong?
This was raised earlier too here http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1265345622 but with no solutions…
PS: I’ve connected VCC(pin 7), AREF & AVCC to +5V and both Gnd to 0volts.