Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CharacterContext" /> class.
 /// </summary>
 /// <param name="hd44780">The HD44780.</param>
 /// <param name="patternSize">Size of the pattern.</param>
 public CharacterContext(global::Iot.Device.CharacterLcd.Hd44780 hd44780, Size patternSize)
 {
     this.hd44780     = hd44780;
     this.PatternSize = patternSize;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LcdTextDisplayDevice" /> class.
 /// </summary>
 /// <param name="hd44780">The HD44780 LCD device.</param>
 public LcdTextDisplayDevice(global::Iot.Device.CharacterLcd.Hd44780 hd44780, string romType)
 {
     this.hd44780    = hd44780;
     this.lcdConsole = new LcdConsole(hd44780, romType, false);
 }