Half the task is wiring it up properly, the other is configuring the pins and porting in an existing example that drives the controller on the specific 16x2 panel in question. You could also code from the manual/datasheet of the display/controller, cycling the control and data pins as diagramed.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..