I have tried the AnalogReadSerial tutorial and when I try to read the serial it remains 1023.
I dont know much about arduino it is my second time using it.
I am not so specialized in this.
THE CODE IS
/*
AnalogReadSerial
Reads an analog input on pin 0, prints the result to the serial monitor.
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public domain.
*/
Did you connect the potentiometer as described? Double-check the connection to ground.
Of course it can be a broken ATmega... but more likely it is a bad connection. When you connect a multimeter between A0 and Gnd what voltage do you read?
its not working doesnt matter what analog imput i use
I also bought another atmega and its the same
The ground is working perfect but something is wrong with analog
i realy need help