how to use ATMEGA2560 AD differential channel

amin_mdn:
But I see a problem! if we use differential mode or differential with gain, the out number is about 512(499 or 502) not 1023

Is that because it can range from -512 to +511 ?

...R