Esempio n. 1
0
        public void Backlight()
        {
            AdjustEventArgs fred = new AdjustEventArgs();

            fred.Cmd           = 0x0e;
            backlight          = (byte)trk_Backlight.Value;
            fred.Data          = backlight;
            lbl_Backlight.Text = "Backlight = " + backlight.ToString();
            adjuster(fred);
        }
Esempio n. 2
0
        public void Contrast()
        {
            AdjustEventArgs fred = new AdjustEventArgs();

            fred.Cmd          = 0x0f;
            contrast          = (byte)trk_Contrast.Value;
            fred.Data         = contrast;
            lbl_Contrast.Text = "Contrast = " + contrast.ToString();
            adjuster(fred);
        }
Esempio n. 3
0
 public void Adjust(AdjustEventArgs e)
 {
     lcd.SendData(e.Cmd);
     lcd.SendData(e.Data);
     // MessageBox.Show(e.Cmd.ToString() + " And " + e.Data.ToString());
 }