Aref pin for external IC


I’m trying to use the Arduino reference voltage (Aref pin) as reference for an external IC (a current sense amplifying ic).

I want to use the 2.56V as reference, how can I measure this voltage? By placing a resistor between GND and Aref? And measuring voltage over that resistor?

The language I’m using is C code and im unsure about the command that I use to make sure the reference voltage is 2.56V as I’m not so familiar with this language.

Command: ADMUX=(1<<REFS1)|(1<<REFS2)


I already solved my problem please ignore :slight_smile: