All of those pinMode calls must be inside a function. Usually inside of setup().
You have already declared a variable named temp. Lose the float, both places.
Nowhere is the variable currentSteps declared. It must be declared before use.
Really? Where do you get the idea that the setCursor() function
takes a string argument?