using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; using MicroLiquidCrystal; namespace LCD_display { public class Program { public static void Main() { GpioLcdTransferProvider LCD_provider = new GpioLcdTransferProvider ( rs: Pins.GPIO_PIN_D9, enable: Pins.GPIO_PIN_D8, d4: Pins.GPIO_PIN_D3, d5: Pins.GPIO_PIN_D2, d6: Pins.GPIO_PIN_D1, d7: Pins.GPIO_PIN_D0 ); Lcd LCD_display = new Lcd(LCD_provider); LCD_display.Begin(16, 2); LCD_display.BlinkCursor = true; LCD_display.ShowCursor = true; LCD_display.SetCursorPosition(0, 0); LCD_display.Write("LCD Display 1"); uint sec = 0; while (true) { LCD_display.SetCursorPosition(0, 1); LCD_display.Write(sec.ToString()); Thread.Sleep(1000); sec++; } } } }
Hi there, Sorry for my poor English first.
I have been wiring LCD U44780 and found a thread about LCD library at the link as follows
http://forums.netdui...ut-a-shift-reg/
I used a dll from the attached file and succeeded to run the LCD.
but as you can see from the attached picture above, it displays broken characters.
The code I made is simple program that displaying the seconds elapsed.
Regards.