this diagram shows how to connect an LCD panel using the example sketch for the LiquidCrystal library.