start the wrapper burrito

Files at this revision

API Documentation at this revision

Comitter:
sepham
Date:
Mon Jul 29 17:55:43 2019 +0000
Parent:
7:050dc348e690
Commit message:
strating the wrapper

Changed in this revision

BNO080Wheelchair.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 050dc348e690 -r 217f510db255 BNO080Wheelchair.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BNO080Wheelchair.cpp	Mon Jul 29 17:55:43 2019 +0000
@@ -0,0 +1,14 @@
+#include "BNO80Wheelchair.h"
+
+//The constructor for the BNO80 imu. Needs 7 parameters
+BNO80Wheelchair::BNO80Wheelchair(Serial *debugPort, PinName sdaPin, 
+                                 PinName sclPin, PinName intPin, PinName rstPin,
+                                 uint8_t i2cAddress, int i2cPortpeed) {
+    imu = new BNO80();
+    //setUp
+    
+}
+//Check if all the
+void BNO80Wheelchair::setup() {
+    imu -> begin();
+}
\ No newline at end of file