Check this one ! mbos setup changed, WTX hor pos changed, no font style check, no checksum check
Dependencies: 4DGL MODSERIAL mbed mbos
Fork of CDU_Mbed_21 by
Diff: USB_receive_5.cpp
- Revision:
- 10:7e350a27f936
- Parent:
- 8:422544d24df3
--- a/USB_receive_5.cpp Sun Jul 20 17:55:46 2014 +0000 +++ b/USB_receive_5.cpp Sun Jul 20 20:11:24 2014 +0000 @@ -23,7 +23,7 @@ #define max_commas 10 // : max. nr of possible field separating commas in a valid message string to CDU int comma[max_commas]; // : array with positions of all found commas in string_receved[] -#define max_nr_of_commands 10 // : max nr of possible FS-to-CDU commands +#define max_nr_of_commands 13 // : max nr of possible FS-to-CDU commands // Define array of pointers to possible FS-to-CDU commands with 3 characters: const char *command[max_nr_of_commands] = { "123", // : no valid CDU command nr. 0 , used for debugging only @@ -36,6 +36,9 @@ "WTX", // : command nr. 7 "ETX", // : command nr. 8 "KTX", // : command nr. 9 + "FAI", // : command nr.10 + "DPY", // : command nr.11 + "OFS", // : command nr.12 }; void collect_FSdata() { @@ -193,5 +196,4 @@ } } - - \ No newline at end of file +