Segment Display Voltmeter Help

Trying to put together a 0-30V variable AC->DC power supply. Also trying to put together a lot of new knowledge: mainly need some help with the arduino as detailed here haha: http://imgur.com/gallery/YQgHO

Welcome to the Forum. Please read the two posts at the top of this Forum by Nick Gammon on guidelines for posting here, especially the use of code tags ("</>") when posting source code files. Also, before posting the code, use Ctrl-T in the IDE to reformat the code in a standard format, which makes it easier for us to read.