Subversion Repositories FlightCtrl

Rev

Rev 1692 | Rev 1694 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1692 Rev 1693
Line 35... Line 35...
35
        {
35
        {
36
                JetiBox_printfxy(10,1,"%4im%c", (int16_t)(HoehenWert/100),VarioCharacter);
36
                JetiBox_printfxy(10,1,"%4im%c", (int16_t)(HoehenWert/100),VarioCharacter);
37
        }
37
        }
38
}
38
}
Line 39... Line 39...
39
 
39
 
40
void Menu_Attitude(uint8_t key)
40
void Menu_Temperature(uint8_t key)
41
{                       //0123456789ABCDEF
-
 
42
//      JetiBox_printfxy(0,0,"Nick Roll  Yaw");
-
 
43
        JetiBox_printfxy(0,1,"%4i %4i %4i", (int16_t)(IntegralNick/1024), (int16_t)(IntegralRoll/1024), (int16_t)(ErsatzKompass / GIER_GRAD_FAKTOR));
41
{                       //0123456789ABCDEF
44
  JetiBox_printfxy(0,0,"%3i %3i %3i %3i", Motor[0].Temperature, Motor[1].Temperature, Motor[2].Temperature, Motor[3].Temperature);
42
  JetiBox_printfxy(0,0,"%3i %3i %3i %3i", Motor[0].Temperature, Motor[1].Temperature, Motor[2].Temperature, Motor[3].Temperature);
45
//  JetiBox_printfxy(0,1,"%3i %3i %3i %3i", Motor[4].Temperature, Motor[5].Temperature, Motor[6].Temperature, Motor[7].Temperature);
43
  JetiBox_printfxy(0,1,"%3i %3i %3i %3i", Motor[4].Temperature, Motor[5].Temperature, Motor[6].Temperature, Motor[7].Temperature);
46
  if(RequiredMotors <= 4)
44
  if(RequiredMotors <= 4)
47
        {
45
        {
48
         JetiBox_printfxy(0,1,"Temperatures    ");
46
         JetiBox_printfxy(0,1,"Temperatures    ");
49
//JetiBox_printfxy(0,0,"%3i ", Poti3);
47
//JetiBox_printfxy(0,0,"%3i ", Poti3);
50
//JetiBox_printfxy(0,1,"%3i %3i %3i %i ",HoverGas,DebugOut.Analog[16],DebugOut.Analog[17],DebugOut.Analog[18]);
48
//JetiBox_printfxy(0,1,"%3i %3i %3i %i ",HoverGas,DebugOut.Analog[26],DebugOut.Analog[17],DebugOut.Analog[18]);
51
    }
49
    }
52
        else
50
        else
53
    if(RequiredMotors <= 6)
51
    if(RequiredMotors <= 6)
54
        {
52
        {
Line 116... Line 114...
116
*/
114
*/
Line 117... Line 115...
117
 
115
 
118
const MENU_ENTRY JetiBox_Menu[] PROGMEM=
116
const MENU_ENTRY JetiBox_Menu[] PROGMEM=
119
{ // l  r  u  d  pHandler
117
{ // l  r  u  d  pHandler
120
        {3, 1, 0, 0, &Menu_Status },    // 0
118
        {3, 1, 0, 0, &Menu_Status },    // 0
121
        {0, 2, 1, 1, &Menu_Attitude },  // 1
119
        {0, 2, 1, 1, &Menu_Temperature },       // 1
122
        {1, 3, 2, 2, &Menu_Battery },   // 2
120
        {1, 3, 2, 2, &Menu_Battery },   // 2
123
        {2, 0, 3, 3, &Menu_PosInfo },   // 3
121
        {2, 0, 3, 3, &Menu_PosInfo },   // 3
Line 124... Line 122...
124
};
122
};