svoe

Dependencies:   mbed mbed-STM32F103C8T6 MPU6050_1

Revision:
17:bd6b6ac89e0e
Parent:
15:960b922433d1
Child:
19:2fe650d29823
--- a/common.h	Sat Dec 01 14:31:24 2018 +0000
+++ b/common.h	Sun Feb 10 12:05:16 2019 +0000
@@ -1,6 +1,7 @@
 Serial wifi(PA_9, PA_10);
 Serial sound_out(PB_10, PB_11);
 Serial sound_in(PA_2, PA_3);
+VL53L1X glaz(PB_9,PB_8);
 //USBSerial usb_serial(0x1f00, 0x2012, 0x0001,  false);
 DigitalOut  myled(LED1);
 DigitalOut test(PB_15); //Test pin for diagnostics and debugging
@@ -45,3 +46,7 @@
 
 float trajectory [10][3] = {{0,0,0},{0.2,0.2,pi/2},{0,0.4,pi},{-0.2,0.2,-pi/2},{0,0},{0.2,-0.2,-pi/2},{0,-0.4,-pi},{-0.2,-0.2,pi/2},{0,0,0}};
 
+bool motion_flag;
+int delay_counter;
+int serva_counter;
+