rainbow

Dependencies:   mbed FastPWM

Revision:
127:15751f2bad9b
Parent:
126:146cf8e5540b
Child:
129:93ebe5bac4c8
diff -r 146cf8e5540b -r 15751f2bad9b setting.h
--- a/setting.h	Wed Sep 16 06:53:36 2020 +0000
+++ b/setting.h	Thu Sep 17 00:25:21 2020 +0000
@@ -427,14 +427,14 @@
 //extern const int num_input ;
 //extern const int num_input_array;
 
-#define     numpast_u           1
+#define     numpast_u           0
 #define     numpast_x           5
 #define     numfuture_x         0
 #define     numpast_f           5
 #define     numfuture_f         10
-#define     num_input           23  //numpast_x + 1 + numfuture_x + numpast_f + 1 + numfuture_f
+#define     num_input           22  //numpast_x + 1 + numfuture_x + numpast_f + 1 + numfuture_f
 
-#define     num_array_u_past        2  // numpast_u * time_interval + 1
+#define     num_array_u_past        1  // numpast_u * time_interval + 1
 #define     num_array_f_future      11  // numfuture_f * time_interval + 1
 #define     num_array_f_past        6  // numpast_f * time_interval + 1        
 #define     num_array_x_past        6  // numpast_x * time_interval + 1