giorgi111-111:
when i assign ADMUX = 0b010000001; this means that i use ADC1 ...
Checking it against the description of register ADMUX in the datasheet:
- Bit 7 = 1, Bit 6 = 0: This combination selects reference mode 2, which is described in the datasheet as, "reserved." I don't know how the reference will behave, but it's likely that it won't do what you expect.
- [Edit: Delete this, because it's incorrect]
Bit 0 = 1: This selects ADC channel 0, not ADC channel 1.
So, it's not surprising that it doesn't tell you about ADC channel 1. Maybe that's what you used, or maybe you copied it wrong.
If you want help, you should probably post some code. You should tell us what you expected, and tell us what happened instead. Your code should be a small sketch that illustrates the problem, rather than long stretches of code that are largely irrelevant to your question.