Raspberry.IO.Components.Displays.Hd44780.Hd44780LcdConnection.WriteLine C# (CSharp) Method

WriteLine() public method

Writes the line.
public WriteLine ( object value, System.TimeSpan animationDelay = newTimeSpan() ) : void
value object The value.
animationDelay System.TimeSpan The animation delay.
return void
        public void WriteLine(object value, TimeSpan animationDelay = new TimeSpan())
        {
            WriteLine("{0}", value, animationDelay);
        }

Same methods

Hd44780LcdConnection::WriteLine ( string format ) : void
Hd44780LcdConnection::WriteLine ( string text, System.TimeSpan animationDelay = newTimeSpan() ) : void

Usage Example

Ejemplo n.º 1
0
        private static void DisplayCharMap(Hd44780LcdConnection connection)
        {
            var idx = 0;
            foreach (var group in Hd44780A00Encoding.SupportedCharacters.GroupBy(c => (idx++/40)))
            {
                var s1 = new string(@group.Take(20).ToArray());
                var s2 = new string(@group.Skip(20).Take(20).ToArray());

                connection.Clear();

                connection.WriteLine(s1);
                connection.WriteLine(s2);

                Thread.Sleep(2000);
            }
        }
All Usage Examples Of Raspberry.IO.Components.Displays.Hd44780.Hd44780LcdConnection::WriteLine