Subversion Repositories FlightCtrl

Rev

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

Rev 1682 Rev 1687
Line 39... Line 39...
39
 
39
 
40
void Menu_Attitude(uint8_t key)
40
void Menu_Attitude(uint8_t key)
41
{                       //0123456789ABCDEF
41
{                       //0123456789ABCDEF
42
//      JetiBox_printfxy(0,0,"Nick Roll  Yaw");
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));
-
 
44
if(RequiredMotors <= 4)
43
//      JetiBox_printfxy(0,1,"%4i %4i %4i", (int16_t)(IntegralNick/1024), (int16_t)(IntegralRoll/1024), (int16_t)(ErsatzKompass / GIER_GRAD_FAKTOR));
45
 {
44
JetiBox_printfxy(0,0,"Temperatures");
46
  JetiBox_printfxy(0,0,"Temperatures");
-
 
47
  JetiBox_printfxy(0,1,"%3i %3i %3i %3i", Motor[0].Temperature, Motor[1].Temperature, Motor[2].Temperature, Motor[3].Temperature);
-
 
48
 }
-
 
49
else
-
 
50
if(RequiredMotors <= 6)
-
 
51
 {
-
 
52
  JetiBox_printfxy(0,0,"%3i %3i %3i %3i", Motor[0].Temperature, Motor[1].Temperature, Motor[2].Temperature, Motor[3].Temperature);
-
 
53
  JetiBox_printfxy(0,1,"%3i %3i C      ", Motor[4].Temperature, Motor[5].Temperature);
-
 
54
 }
-
 
55
else
-
 
56
 {
-
 
57
  JetiBox_printfxy(0,0,"%3i %3i %3i %3i", Motor[0].Temperature, Motor[1].Temperature, Motor[2].Temperature, Motor[3].Temperature);
-
 
58
  JetiBox_printfxy(0,1,"%3i %3i %3i %3i", Motor[4].Temperature, Motor[5].Temperature, Motor[6].Temperature, Motor[7].Temperature);
45
JetiBox_printfxy(0,1,"%3i %3i %3i %3i", Motor[0].Temperature, Motor[1].Temperature, Motor[2].Temperature, Motor[3].Temperature);
59
 }
Line 46... Line 60...
46
}
60
}
47
 
61
 
48
void Menu_Battery(uint8_t key)
62
void Menu_Battery(uint8_t key)