how do i program a battery voltage

can you please give me the code to fit into this one http://www.robotc.net/blog/2012/05/18/advanced-applications-with-the-vex-lcd/
i need it to display my battery extender voltage not backup battery voltage

Both of the sample programs that are used in that blog post are included with ROBOTC in the sample programs LCD folder (file->open sample program).