Example #1
0
        public Spoti15()
        {
            initExcpt = null;

            InitSpot();

            lcd = new LogiLcd("Spoti15");

            spotTimer = new Timer();
            spotTimer.Interval = 1000;
            spotTimer.Enabled = true;
            spotTimer.Tick += OnSpotTimer;

            lcdTimer = new Timer();
            lcdTimer.Interval = 100;
            lcdTimer.Enabled = true;
            lcdTimer.Tick += OnLcdTimer;

            refreshTimer = new Timer();
            refreshTimer.Interval = 300000;
            refreshTimer.Enabled = true;
            refreshTimer.Tick += OnRefreshTimer;

            UpdateSpot();
            UpdateLcd();
        }
Example #2
0
        public Spoti15()
        {
            initExcpt = null;

            InitSpot();

            lcd = new LogiLcd("Spoti15");

            spotTimer          = new Timer();
            spotTimer.Interval = 1000;
            spotTimer.Enabled  = true;
            spotTimer.Tick    += OnSpotTimer;

            lcdTimer          = new Timer();
            lcdTimer.Interval = 100;
            lcdTimer.Enabled  = true;
            lcdTimer.Tick    += OnLcdTimer;

            refreshTimer          = new Timer();
            refreshTimer.Interval = 300000;
            refreshTimer.Enabled  = true;
            refreshTimer.Tick    += OnRefreshTimer;

            UpdateSpot();
            UpdateLcd();
        }
Example #3
0
        public Spoti15()
        {
            initExcpt = null;

            InitSpot();

            lcd = new LogiLcd("Spotify");

            spotTimer          = new Timer();
            spotTimer.Interval = 500;
            spotTimer.Enabled  = true;
            spotTimer.Tick    += OnSpotTimer;

            lcdTimer          = new Timer();
            lcdTimer.Interval = 100;
            lcdTimer.Enabled  = true;
            lcdTimer.Tick    += OnLcdTimer;

            refreshTimer          = new Timer();
            refreshTimer.Interval = 500;
            refreshTimer.Enabled  = true;
            refreshTimer.Tick    += OnRefreshTimer;

            descFlipTimer          = new Timer();
            descFlipTimer.Interval = 2000;
            descFlipTimer.Enabled  = true;
            descFlipTimer.Tick    += OnDescFlip;

            inputTimer          = new Timer();
            inputTimer.Interval = 1;
            inputTimer.Enabled  = true;
            inputTimer.Tick    += CheckInput;

            UpdateSpot();
            UpdateLcd();
        }