Help with two 7-segment displays & pot code

:)Thanks AWOL. Not sure what to do still. Is it correct to use an "if" statement there though?