Ejemplo n.º 1
0
        private void TrackerController_Load(object sender, EventArgs e)
        {
            serialPort1.BaudRate = 115200;
            clink.Port           = serialPort1;
            ServoPage sv = new ServoPage();

            //sv.paint(glcd1);
            osd.paint(glcd1);
            //FlyModePage fm = new FlyModePage();
            //fm.paint(glcd1);

            /*glcd1.DrawChar(5, 5, 0x81);
             * glcd1.DrawChar(10, 10, (byte)'>');
             * glcd1.DrawChar(10, 20, 0xf0);
             */
            //glcd1.DrawChar(0, 0, 0x80);
            //srv.paint(glcd1);

            /*for (int i = 0; i < 0x10; i++)
             *  for (int j = 0; j < 6; j++)
             *      glcd1.DrawChar(i * 6, j * 8, (byte)(i + j * 0x10 + 0x20));*/
        }
Ejemplo n.º 2
0
 private void TrackerController_Load(object sender, EventArgs e)
 {
     serialPort1.BaudRate = 115200;
     clink.Port = serialPort1;
     ServoPage sv = new ServoPage();
     //sv.paint(glcd1);
     osd.paint(glcd1);
     //FlyModePage fm = new FlyModePage();
     //fm.paint(glcd1);
     /*glcd1.DrawChar(5, 5, 0x81);
     glcd1.DrawChar(10, 10, (byte)'>');
     glcd1.DrawChar(10, 20, 0xf0);
      */
     //glcd1.DrawChar(0, 0, 0x80);
     //srv.paint(glcd1);
     /*for (int i = 0; i < 0x10; i++)
         for (int j = 0; j < 6; j++)
             glcd1.DrawChar(i * 6, j * 8, (byte)(i + j * 0x10 + 0x20));*/
 }