Starting point for the student buggy project

Dependencies:   microbit

Fork of microbit-hello-world by micro:bit

Revision:
5:a33f016d5962
Parent:
4:2d939ef2b09c
Child:
6:edbaeaaf08bb
--- a/Buggy.h	Sun Aug 06 20:13:33 2017 +0000
+++ b/Buggy.h	Mon Aug 07 18:57:55 2017 +0000
@@ -22,29 +22,18 @@
 void InitialiseBuggy();
 unsigned int GetSonarTime_us();
 
-/******************************************************************************
-Function to run a basic test of the buggy's motors.  The buggy will perform the
-following moves: move backwards, move forwards, rotate clockwise, rotate
-anticlockwise.  Each movement will continue for a user-defined time period. There
-will be a pause period between each movement. 
-The function inputs are:
-Voltage: the voltage you want to run the motor at. 0(off) to 1024(fast)
-Time_ms: the length of time you want each movement to occur for
-Pause_ms: the pause period between each motor move
-*******************************************************************************/
-void RunBasicBuggyMotorTest(unsigned int Voltage, unsigned int Time_ms, unsigned int Pause_ms);
-
-void TestSonar();
-
-void PrintSonarTiming(void);
-
 void TestAntiCollision(unsigned int Voltage, unsigned int Time_ms, unsigned int SonarTime_us);
 
 void MotorSpeedCharacterisation(void);
 
+void SelfTest();
+
+void DisplaySonarTiming();
+
 extern MicroBit uBit;
 
 
 
 #endif
 
+