Beispiel #1
0
        /******* PANELS - DEFINITION *******/

        /* **************************************************************** */
        // Panel  : panRadioRSSI
        // Needs  : X, Y locations
        // Output : Shows RSSI values for both radios (remote and groundstation)
        // Size   : 2 x 4 (rows x chars)
        // Staus  : done

        public int panRadioRSSI(int first_col, int first_line)
        {
            osd.setPanel(first_col, first_line);
            osd.openPanel();

            osd.printf("%c%3i", 0x8b, 255);
            osd.printf("|");
            osd.printf("%c%3i", 0x8c, 255);
            osd.closePanel();
            return(0);
        }
Beispiel #2
0
        /******* PANELS - DEFINITION *******/

        /* **************************************************************** */
        // Panel  : PanCh
        // Needs  : X, Y locations
        // Output :
        // Size   : 1 x 7Hea  (rows x chars)
        // Staus  : done

        public int panCh(int first_col, int first_line)
        {
            osd.setPanel(first_col, first_line);
            osd.openPanel();
            {
                osd.printf("%c%c%5i|%c%c%5i|%c%c%5i|%c%c%5i|%c%c%5i|%c%c%5i|%c%c%5i|%c%c%5i|", 0x43, 0x31, chan1_raw, 0x43, 0x32, chan2_raw, 0x43, 0x33, chan3_raw, 0x43, 0x34, chan4_raw, 0x43, 0x35, chan5_raw, 0x43, 0x36, chan6_raw, 0x43, 0x37, chan7_raw, 0x43, 0x38, chan8_raw);
            }
            osd.closePanel();
            return(0);
        }
Beispiel #3
0
        /******* PANELS - DEFINITION *******/

        /* **************************************************************** */
        // Panel  : COG
        // Needs  : X, Y locations
        // Output :
        // Size   : 1 x 7Hea  (rows x chars)
        // Staus  : done

        public int panCOG(int first_col, int first_line)
        {
            osd.setPanel(first_col, first_line);
            osd.openPanel();

            osd.printf("%c%c%4i%c", 0x94, 0x95, tr, 0x05);

            osd.closePanel();
            return(0);
        }
Beispiel #4
0
        /* **************************************************************** */
        // Panel  : efficiency
        // Needs  : X, Y locations
        // Output :
        // Size   : 1 x 7Hea  (rows x chars)
        // Staus  : done

        public int panEff(int first_col, int first_line)
        {
            osd.setPanel(first_col, first_line);
            osd.openPanel();
            {
                osd.printf("%c%3.0f%c", 0x17, eff, 0x82);
            }
            osd.closePanel();
            return(0);
        }