Variables in functions ... What is best?

why, not use that as an input to the function? if tomorrow you get a bigger, or smaller, lcd, you change that input to the function.

It will only exist inside the function.