Programming for voltage readout through Arduino leonardo and Xbee series 1

Any suggestions would be appreciated!Thank you.