another lcd 16x2 display not working

When I turn the pot for the contrast, it definitely changes, going from a dark screen to seeing two rows of blocks.

That's not normal or your description isn't correct. Try it again with the six LCD <--> Arduino wires disconnected.

Don