public static void Main() { // write your code here var serial = new SerialLcd(Serial.COM2); Thread.Sleep(1000); serial.SetSplashScreenText("Bootup!"); }
private LcdWriter() { _serialInterface = new SerialLcd(SerialPorts.COM2); ThreadUtil.Start(() => { while (true) { _serialInterface.ClearDisplay(); _serialInterface.SetCursorPosition(1, 1); lock (_lockObject) { _serialInterface.Write(_lcdDisplay); } mutex.WaitOne(); } }); }