Esempio n. 1
0
 /// <summary>
 /// Creates a scrolling text class
 /// </summary>
 /// <param name="Display">The display you are using. CFA631, CFA633, CFA635</param>
 public ScrollingText(CFA63XDisplay Display)
 {
     _display         = Display;
     this.ScrollSpeed = 750;
     this.PadString   = 5;
     this.Line        = 0;
     _scrollingThread = new Thread(this.scrollingText);
 }
 public LCDProgressBar(CFA63XDisplay Display)
 {
     this._display = Display;
     if (Display.GetType().Name == "CFA633")
     {
         throw new NotSupportedException("CFA633 is not a supported device for the Progress Bar");
     }
 }