I made a ADC and it works nice but for one reason or another the ADCH is only filled with 6 bits instead of 8 bits.
What I did is I put a 10k potentiometer to ADC3 between gnd and 5Vdc.
I tied AVcc to 5Vdc and put Aref with 100nF to GND.
And from than I just compare the adc with $FF but this will not give a output on one of the pins.
When I compare the ADC with $6E there is a output. But this happens at a voltage level of 4.3Vdc on the input of ADC3
So my conclusion is that there is only a 6 bit number inside the ADCH instead of the 8bit.
I can use some help here because i get a bit confused.