Content originally posted in LPCWare by serge on Mon Jul 14 04:50:23 MST 2014
The display is used in 4 bits mode.
The RS pin is GPIO2.0, the E pin is GPIO2.1, the first data pin is GPIO2.4
The R/W pin isn't used. The lcd is fast enough to not have to read the 'busy' bit.
The R/W pin at the LCD side should be connected to ground (permanent write)