test

Dependencies:   mbed Watchdog

Dependents:   STM32-MC_node

Revision:
4:f6e22dd39313
Parent:
3:96fcb3b041eb
Child:
5:97117a837d2c
diff -r 96fcb3b041eb -r f6e22dd39313 global.h
--- a/global.h	Tue Jul 07 15:02:22 2020 +0000
+++ b/global.h	Sat Jul 18 14:59:04 2020 +0000
@@ -8,9 +8,11 @@
 #include "AS5045.h"
 #include "E18_D80NK.h"
 
-#define TEST_ULTRASONIC 1
+#define BLINKING_RATE     500
+
+#define TEST_ULTRASONIC 0
 #define TEST_ENCODERS   0
-#define TEST_IR         0
+#define TEST_IR         1
 
 // rs-485 pins
 #define UART1_TX    PB_6
@@ -39,9 +41,12 @@
 #define TRIG_PB15_OUT   PB_15
 #define TRIG_PB14_OUT   PB_14
 
+//ir obstacle pins
+#define IR1_PB12_OUT   PB_12
+#define IR2_PB13_OUT   PB_13
 
 
 
-
+#define DEBUG_LED   PC_13
 
 #endif /* GLOBAL_H_ */
\ No newline at end of file