joystick_bjk

Dependencies:   mbed VL53L1X

Revision:
2:284491e0f6bf
Parent:
1:fd1e7e2d0780
Child:
3:cfb7cc54a3ba
--- a/CONFIG.h	Tue Aug 27 04:52:07 2019 +0000
+++ b/CONFIG.h	Thu Sep 05 10:02:40 2019 +0000
@@ -1,7 +1,7 @@
 #pragma once
 
-//#define BH_BOARD
-#define SH_BOARD
+#define BH_BOARD
+//#define SH_BOARD
 
 
 #if defined BH_BOARD
@@ -13,6 +13,8 @@
     #define     ToF_XShut_2         PF_1
     #define     ToF_XShut_3         PA_8
     
+    #define     ToF_SETUP_TIME      0.0455f
+    
     #define     MOTOR_REVERSE_R     PA_0
     #define     MOTOR_REVERSE_L     PA_1
     
@@ -24,6 +26,8 @@
 
     #define     UART_BAUD           115200
     #define     DAC_ONE_STEP        0.1f
+    #define     HIGH_BOUND          1300
+    #define     LOW_BOUND           700
 ////////////////////////////////////////////////////
 #elif defined SH_BOARD