Check out this diagram at http://arduino.cc/en...l/lcd_schem.png, for details. Just watch out the Digital pins are mapped differently than todotani's example from GHIElectronics library.
I also noticed that some of the sample posts in this thread, included mismatched pin types:
LCD_D4 = new OutputPort(Pins.GPIO_PIN_D13, false);
LCD_D5 = new OutputPort(Pins.GPIO_PIN_A0, false); << Wrong this is an analog pin, A for "analog", should be a digital pin
LCD_D6 = new OutputPort(Pins.GPIO_PIN_A1, false); << Wrong, same issue
LCD_D7 = new OutputPort(Pins.GPIO_PIN_A2, false); < Wrong, same issue.
Ed