Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: lifiTranceiver.h
- Revision:
- 26:26474003e443
- Parent:
- 17:847e9b792c72
- Child:
- 30:75cb79acdcff
diff -r 28f31161a5ca -r 26474003e443 lifiTranceiver.h --- a/lifiTranceiver.h Tue Apr 09 11:48:11 2019 +0000 +++ b/lifiTranceiver.h Tue Apr 09 12:06:34 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 (120) +#define PDU_BUFFER_SIZE (100) +#define NUM_TO_STRING_BUFFER_SIZE (100) // 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