JongYong Park / Mbed 2 deprecated NUCLEO-F767_LIFI_4CH_os2_v2

Dependencies:   mbed

Revision:
21:82b5759f5047
Parent:
17:847e9b792c72
Child:
23:45461af5efc5
diff -r 6a8e86d7d504 -r 82b5759f5047 lifiTranceiver.h
--- a/lifiTranceiver.h	Mon Apr 08 04:39:22 2019 +0000
+++ b/lifiTranceiver.h	Tue Apr 09 09:11:24 2019 +0000
@@ -24,16 +24,16 @@
 */
 
 #define USE_MIMO_4CH  1    // feature
-#define LIFI_ACTUAL_MAX_CHANNEL_NUM (1)  // 1 -minumum 4 - full
+#define LIFI_ACTUAL_MAX_CHANNEL_NUM (4)  // 1 -minumum 4 - full
 #define LIFI_ACTUAL_MAX_CHANNEL_NUM_INDEX  (LIFI_ACTUAL_MAX_CHANNEL_NUM - 1)
 #define LIFI_PACKET_USE_LENGTH 1
 
 
 ////////////////
 
-#define FRAME_BUFFER_SIZE  (60)
-#define PDU_BUFFER_SIZE  (40)
-#define NUM_TO_STRING_BUFFER_SIZE  (40)
+#define FRAME_BUFFER_SIZE  (160)
+#define PDU_BUFFER_SIZE  (140)
+#define NUM_TO_STRING_BUFFER_SIZE  (140)
 
 // pjr mask out - because sensor is inverted
 //#define INT_REF /* Commen this to use AVCC reference voltage. To be used when the receiver LED generate low levels */
@@ -174,7 +174,7 @@
 #define RX_RX_DEBUG_EDGE  0
 #define RX_DEBUG_BIN  0
 /////////////////////
-#define RX_DEBUG_FRAME  1  // 1
+#define RX_DEBUG_FRAME  0  // 1
 #define RX_DEBUG_MAIN_LOOP  1 //1 
 
 //https://os.mbed.com/forum/bugs-suggestions/topic/28244/?page=1#comment-53612