hello
Can you help me ?
I need the code to run my 2x16 LCD (Arduino) to a microcontroller Fez Panda 2 with shema of connections.
Sorry for my bad english, I’m French
Here are my no-functional code :
using System;
using Microsoft.SPOT;
using GHIElectronics.NETMF.FEZ;
using System.Threading;
namespace lcd
{
public class Program
{
public static void Main()
{
SerialLCDDisplay lcd = new SerialLCDDisplay(
FEZ_Pin.Digital.Di21, // RS
FEZ_Pin.Digital.Di23, // ENABLE
FEZ_Pin.Digital.Di25, // DB4
FEZ_Pin.Digital.Di27, // DB5
FEZ_Pin.Digital.Di29, // DB6
FEZ_Pin.Digital.Di31); // DB7
lcd.Clear();
int i = 0;
while (true)
{
lcd.CursorHome();
lcd.Print("Counter " + i++);
Thread.Sleep(100);
}
}
Thank you in advance