added main and defined M_PI

Dependencies:   BNOWrapper

Revision:
6:faeba56869a5
Parent:
4:ecd3871549e8
--- a/main.cpp	Mon Jul 29 16:56:33 2019 +0000
+++ b/main.cpp	Tue Jul 30 18:34:06 2019 +0000
@@ -7,7 +7,7 @@
 
     // Create IMU, passing in output stream, pins, I2C address, and I2C frequency
     // These pin assignments are specific to my dev setup -- you'll need to change them
-    BNO080 imu(&pc, PB_7, PB_6, D12, PA_11, 0x4b, 400000);
+    BNO080 imu(&pc, D4, D5, D12, D10, 0x4b, 100000);
 
     imu.begin();