Subversion Repositories FlightCtrl

Rev

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

Rev 1591 Rev 1680
Line 37... Line 37...
37
        }
37
        }
38
}
38
}
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
JetiBox_printfxy(0,0,"Temperatures");
43
        JetiBox_printfxy(0,1,"%4i %4i %4i", (int16_t)(IntegralNick/1024), (int16_t)(IntegralRoll/1024), (int16_t)(ErsatzKompass / GIER_GRAD_FAKTOR));
45
JetiBox_printfxy(0,1,"%4i %4i %4i", Motor[0].Temperature, Motor[1].Temperature, Motor[2].Temperature, Motor[3].Temperature);
Line 44... Line 46...
44
}
46
}
45
 
47
 
46
void Menu_Battery(uint8_t key)
48
void Menu_Battery(uint8_t key)
47
{                       //0123456789ABCDEF
49
{                       //0123456789ABCDEF
48
        JetiBox_printfxy(0,0,"%2i.%1iV  %3i.%1iA", UBat/10, UBat%10, Capacity.ActualCurrent/10, Capacity.ActualCurrent%10);
50
        JetiBox_printfxy(0,0,"%2i.%1iV  %3i.%1iA", UBat/10, UBat%10, Capacity.ActualCurrent/10, Capacity.ActualCurrent%10);
Line -... Line 51...
-
 
51
        JetiBox_printfxy(0,1,"%4iW %6imAh",Capacity.ActualPower, Capacity.UsedCapacity);
49
        JetiBox_printfxy(0,1,"%4iW %6imAh",Capacity.ActualPower, Capacity.UsedCapacity);
52
}
50
}
53
 
51
 
54
 
52
void Menu_PosInfo(uint8_t key)
55
void Menu_PosInfo(uint8_t key)
53
{
56
{