![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
added main and defined M_PI
Diff: Watchdog/Watchdog.h
- Revision:
- 8:729ad465d6c9
- Parent:
- 7:b548a684290d
- Child:
- 10:14374b492f1d
diff -r b548a684290d -r 729ad465d6c9 Watchdog/Watchdog.h --- a/Watchdog/Watchdog.h Tue Jul 30 21:06:04 2019 +0000 +++ b/Watchdog/Watchdog.h Mon Aug 05 21:57:13 2019 +0000 @@ -19,7 +19,7 @@ #ifndef WATCHDOG_H #define WATCHDOG_H #include "mbed.h" - +#include "BNO080.h" /// The Watchdog class provides the interface to the Watchdog feature /// /// Embedded programs, by their nature, are usually unattended. If things @@ -56,7 +56,7 @@ /// @code /// Watchdog wd; // placed before main /// @endcode - Watchdog(); + Watchdog(BNO080 *imu); /// Configure the timeout for the Watchdog /// @@ -96,6 +96,7 @@ bool WatchdogCausedReset(); private: bool wdreset; + BNO080 *imu1; }; #endif // WATCHDOG_H \ No newline at end of file