#define START_TASK 1 #define STOP_TASK 2 struct my_msg_struct { int command; }; #define SAMPLING_PERIOD 1.0e-3 // sampling period #define RECORDING_SAMPLES 10000 // recording samples #define BUF_LEN 3