Here is the code section that defines the bytes in RemoteXY_CONF
It is in my sketch, not in RemoteXY.h
//////////////////////////////////////////////
// RemoteXY include library //
//////////////////////////////////////////////
// RemoteXY select connection mode and include library
#define REMOTEXY_MODE__HARDSERIAL
#include <RemoteXY.h>
// RemoteXY connection settings
#define REMOTEXY_SERIAL Serial
#define REMOTEXY_SERIAL_SPEED 115200
// RemoteXY configurate
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =
{ 255,35,0,10,0,13,3,8,178,4,
131,1,0,57,13,5,1,8,31,77,
97,105,110,0,129,0,4,1,40,5,
0,8,66,97,105,116,66,111,97,116,
32,67,111,110,116,114,111,108,0,131,
0,36,57,13,5,2,16,8,83,101,
116,117,112,0,5,32,3,12,42,42,
1,178,26,31,129,0,45,32,3,4,
1,8,82,0,129,0,0,31,2,4,
1,8,76,0,129,0,20,8,9,4,
1,8,70,87,68,0,4,0,52,10,
8,47,1,204,26,129,0,52,58,9,
3,1,24,76,105,103,104,116,115,0,
129,0,51,5,10,3,1,24,66,97,
116,116,101,114,121,0,130,0,60,1,
4,4,1,134,130,0,48,1,12,4,
1,1,66,131,48,1,16,4,1,30,
8,65,22,69,0,10,10,1,1,0,
70,1,8,8,1,246,31,80,0,129,
0,81,4,7,3,1,24,72,111,111,
107,0,129,0,79,7,11,3,1,24,
82,101,108,101,97,115,101,0,65,22,
90,0,10,10,1,1,0,91,1,8,
8,1,246,31,83,0,66,1,93,14,
4,39,1,1,17,4,0,91,10,8,
47,1,2,26,66,1,72,14,4,39,
1,1,17,4,0,70,10,8,47,1,
2,26,129,0,79,58,12,3,1,24,
72,111,112,112,101,114,115,0,129,0,
20,55,8,4,1,8,82,69,86,0,
129,0,46,1,14,5,2,24,83,101,
116,117,112,0,129,0,2,14,30,3,
2,8,80,111,114,116,32,72,111,112,
112,101,114,32,83,101,114,118,111,32,
37,0,129,0,35,8,12,3,2,8,
77,105,110,0,7,22,35,12,11,5,
2,94,26,2,129,0,53,8,6,3,
2,8,77,97,120,0,7,22,52,12,
11,5,2,94,26,2,129,0,1,21,
30,3,2,8,83,116,98,100,32,72,
111,112,112,101,114,32,83,101,114,118,
111,32,37,0,7,22,35,19,11,5,
2,94,26,2,7,22,52,19,11,5,
2,94,26,2,129,0,9,28,31,3,
2,8,82,117,100,100,101,114,32,83,
101,114,118,111,32,37,32,32,32,40,
45,47,43,41,0,7,22,44,26,11,
5,2,94,26,2,129,0,11,35,30,
3,2,8,84,104,114,111,116,116,108,
101,32,69,83,67,32,37,32,32,32,
40,45,47,43,41,0,7,22,44,33,
11,5,2,94,26,2,129,0,16,50,
15,3,2,8,66,97,116,116,101,114,
121,32,40,86,41,0,7,14,35,48,
11,5,2,94,26,2,2,129,0,1,
43,30,3,2,8,72,111,111,107,32,
82,101,108,101,97,115,101,32,84,105,
109,101,32,83,0,7,22,35,41,11,
5,2,94,26,2,1,2,80,0,20,
6,2,204,31,82,101,115,101,116,32,
73,110,100,105,99,97,116,111,114,115,
0,129,0,84,8,13,3,2,8,68,
105,114,101,99,116,105,111,110,0,129,
0,68,22,6,3,2,8,84,114,105,
109,0,7,22,66,26,11,5,2,94,
26,2,7,22,66,33,11,5,2,94,
26,2,65,31,79,51,21,12,2,129,
0,82,52,14,3,2,178,0,1,2,
80,54,19,6,2,0,1,83,97,118,
101,0,129,0,48,13,2,4,2,8,
60,0,129,0,48,20,2,4,2,8,
60,0,2,0,81,12,18,5,2,29,
24,1,136,82,69,86,0,78,79,82,
0,2,0,81,19,18,5,2,29,24,
1,136,82,69,86,0,78,79,82,0,
2,0,81,26,18,5,2,29,24,1,
136,82,69,86,0,78,79,82,0,2,
0,81,33,18,5,2,29,24,1,136,
82,69,86,0,78,79,82,0 };
// this structure defines all the variables of your control interface
struct {
// input variable
int8_t joystick_1_x; // =-100..100 x-coordinate joystick position
int8_t joystick_1_y; // =-100..100 y-coordinate joystick position
int8_t lights; // =0..100 slider position
uint8_t hkr_p; // =1 if button pressed, else =0
uint8_t hkr_s; // =1 if button pressed, else =0
int8_t stbdhopper; // =0..100 slider position
int8_t porthopper; // =0..100 slider position
int16_t PHop_Min; // −32767.. +32767
int16_t PHop_Max; // −32767.. +32767
int16_t SHop_Min; // −32767.. +32767
int16_t SHop_Max; // −32767.. +32767
int16_t Rud_Rng; // −32767.. +32767
int16_t Thr_Rng; // −32767.. +32767
float Batt_Volts;
int16_t Hook_Rel; // −32767.. +32767
uint8_t Reset; // =1 if button pressed, else =0
int16_t Rud_Trim; // −32767.. +32767
int16_t Thr_Trim; // −32767.. +32767
uint8_t Save_Settings; // =1 if button pressed, else =0
uint8_t PHop_Rev; // =1 if switch ON and =0 if OFF
uint8_t SHop_Rev; // =1 if switch ON and =0 if OFF
uint8_t Rud_Rev; // =1 if switch ON and =0 if OFF
uint8_t Thr_Rev; // =1 if switch ON and =0 if OFF
// output variable
int8_t batt_meter; // =0..100 level position
uint8_t rel_flag_p_r; // =0..255 LED Red brightness
uint8_t rel_flag_p_g; // =0..255 LED Green brightness
uint8_t rel_flag_s_r; // =0..255 LED Red brightness
uint8_t rel_flag_s_g; // =0..255 LED Green brightness
int8_t s_max; // =0..100 level position
int8_t p_max; // =0..100 level position
uint8_t valid_r; // =0..255 LED Red brightness
uint8_t valid_g; // =0..255 LED Green brightness
uint8_t valid_b; // =0..255 LED Blue brightness
// other variable
uint8_t connect_flag; // =1 if wire connected, else =0
} RemoteXY;
#pragma pack(pop)
/////////////////////////////////////////////
// END RemoteXY include //
/////////////////////////////////////////////