UAVX Multicopter Flight Controller.

Dependencies:   mbed

Revision:
2:90292f8bd179
Parent:
1:1e3318a30ddd
--- a/menu.c	Fri Feb 25 01:35:24 2011 +0000
+++ b/menu.c	Tue Apr 26 12:12:29 2011 +0000
@@ -2,7 +2,7 @@
 // =                              UAVXArm Quadrocopter Controller                                =
 // =                           Copyright (c) 2008 by Prof. Greg Egan                             =
 // =                 Original V3.15 Copyright (c) 2007 Ing. Wolfgang Mahringer                   =
-// =                     http://code.google.com/p/uavp-mods/ http://uavp.ch                      =
+// =                           http://code.google.com/p/uavp-mods/                               =
 // ===============================================================================================
 
 //    This is part of UAVXArm.
@@ -316,7 +316,10 @@
 
     if ( InitialThrottle >= RC_THRES_START )
         TxString("\tThrottle may be open - CLOSE!\r\n");
-
+        
+    if ( !F.UsingLEDDriver )
+        TxString("\tPCA Line Driver OFFLINE - no BUZZER warnings!\r\n");
+        
     ShowPrompt();
 } // ShowSetup
 
@@ -333,6 +336,7 @@
             switch ( ch ) {
                 case 'D':
                     UseDefaultParameters();
+                    InitParameters();
                     ShowPrompt();
                     break;
                 case 'L'  :    // List parameters
@@ -380,12 +384,13 @@
                     ShowPrompt();
                     break;
                 case 'N' :    // neutral values
+                    GetNeutralAccelerations();
                     TxString("\r\nNeutral    R:");
-                    TxValS(NewAccNeutral[BF]);
+                    TxValS(NewAccNeutral[LR]);
 
                     TxString("    P:");
-                    TxValS(NewAccNeutral[LR]);
-
+                    TxValS(NewAccNeutral[BF]);
+                    
                     TxString("   V:");
                     TxValS(NewAccNeutral[UD]);
                     ShowPrompt();
@@ -431,7 +436,7 @@
                     ShowPrompt();
                     break;
                 case 'G':    // GPS
-                   GyroTest();// GPSTest();
+                    GPSTest();
                     ShowPrompt();
                     break;
                 case 'H':    // barometer