Please explain the code

Its really quite simple to change the AREF of the Arduino (I assume that that's what you're talking about, if not sorry :~). Put whatever voltage you want the AREF to be into the AREF pin of the Arduino.

Koop