Hi,
I am starting an new project that uses a USB keyboard, and it looks like the syntax for using the USB controller has changed.
Here is my code:
public static void Main()
{
// First thing to do is bring the LCD up
LCD = new SLCD("COM1");
LCD.clear();
LCD.Lines[0].Text = "==== Math Flash ====";
// Fade the backlight up...
for (int i = 0; i <= 255; i++)
{
LCD.backlight = i;
Thread.Sleep(5);
}
USBHostController.DeviceConnectedEvent += devCon;
}
public static void devCon(USBH_DeviceConnectionEventHandler device)
{
}
And I am getting this error: Error 1 No overload for ‘devCon’ matches delegate ‘GHIElectronics.NETMF.USBHost.USBH_DeviceConnectionEventHandler’