I have this LCD display http://www.soselectr...71&artnum=52951 and I cant get it working. I tried to connect it according this tutorial http://10rem.net/blo...th-the-netduino (pin order on lcd seems to be same as in tutorial) and then I tried to program it with MicroLiquidCrystal library (http://microliquidcr...l.codeplex.com/) but it did nothing, only backlight works.
using System.Threading; using MicroLiquidCrystal; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware.Netduino; namespace HelloWorld { public class Program { public static void Main() { var lcdProvider = new GpioLcdTransferProvider( Pins.GPIO_PIN_D12, // RS Pins.GPIO_NONE, // RW Pins.GPIO_PIN_D11, // enable Pins.GPIO_PIN_D9, // d0 Pins.GPIO_PIN_D8, // d1 Pins.GPIO_PIN_D7, // d2 Pins.GPIO_PIN_D6, // d3 Pins.GPIO_PIN_D5, // d4 Pins.GPIO_PIN_D4, // d5 Pins.GPIO_PIN_D3, // d6 Pins.GPIO_PIN_D2 // d7 ); // create the LCD interface var lcd = new Lcd(lcdProvider); lcd.Backlight = true; // set up the LCD's number of columns and rows: lcd.Begin(16, 2); // Print a message to the LCD. lcd.Write("hello, world!"); while (true) { // set the cursor to column 0, line 1 lcd.SetCursorPosition(0, 1); // print the number of seconds since reset: lcd.Write((Utility.GetMachineTime().Ticks / 10000).ToString()); Thread.Sleep(100); } } } }
Thank you for help