how do i program a battery voltage

can you please give me the code to fit into this one
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).