ライブラリ化を行った後

Dependencies:   QEI accelerator bit_test cyclic_io cyclic_var cylinder event_var limit mbed mecanum motor_drive pid pid_encoder rs422_put sbdbt servo

Fork of 17robo_Practice1 by kusano kiyoshige

Revision:
2:d5b8f8e62923
Parent:
1:2d878962e6ea
Child:
5:6efda58ff71b
diff -r 2d878962e6ea -r d5b8f8e62923 bno055_use.h
--- a/bno055_use.h	Thu Jun 29 08:52:40 2017 +0000
+++ b/bno055_use.h	Thu Jun 29 09:47:49 2017 +0000
@@ -48,6 +48,15 @@
             ifaceI2C.frequency(ifaceI2C_frequency);
             sensor1.initialize(true);
             yaw_state = 1;
+            shortdata_yaw = 0;
+            count = 0;
+            data_scEUL = 0;
+            data_yaw = 0;
+            data_firstYaw = 0;
+            data_yaw180 = 0;
+            data_yaw360 = 0;
+            data_yaw360Rev = 0;
+            data_yawRad = 0;
         }
         
         void firstRead(){