added main and defined M_PI

Dependencies:   BNOWrapper

Revision:
10:14374b492f1d
Parent:
8:729ad465d6c9
--- a/Watchdog/Watchdog.h	Wed Aug 07 17:26:41 2019 +0000
+++ b/Watchdog/Watchdog.h	Wed Aug 07 18:50:14 2019 +0000
@@ -20,6 +20,7 @@
 #define WATCHDOG_H
 #include "mbed.h"
 #include "BNO080.h"
+#include <BNO080Wheelchair.h>
 /// The Watchdog class provides the interface to the Watchdog feature
 ///
 /// Embedded programs, by their nature, are usually unattended. If things
@@ -56,7 +57,7 @@
     /// @code
     /// Watchdog wd;    // placed before main
     /// @endcode
-    Watchdog(BNO080 *imu);
+    Watchdog(BNO080Wheelchair *imu);
     
     /// Configure the timeout for the Watchdog
     ///
@@ -96,7 +97,7 @@
     bool WatchdogCausedReset();
 private:
     bool wdreset;
-    BNO080 *imu1;
+    BNO080Wheelchair *imu1;
 };
 
 #endif // WATCHDOG_H
\ No newline at end of file